[Pdbg] [PATCH v2 00/10] pdbg fixes for p9

Nicholas Piggin npiggin at gmail.com
Wed May 2 02:33:29 AEST 2018


Found and fixed a similar case where ramming would fail to cope with
the thread in stop (and would resume from the instruction after stop).

The register state for non-preserved registers when ramming a stopped
thread is not necessarily very sane, but at least this doesn't crash
the host so easily now if we try it.

Nicholas Piggin (10):
  libpdbg/p9chip.c: update timeouts for special wakeup and stop
  libpdbg/p9chip.c: remove sreset SRR1 workaround
  libpdbg/p9chip.c: use the OTR special wakeup status latch
  libpdbg/p9chip.c: do not fence interrupts when stopping threads
  libpdbg/p9chip.c: query thread active and stop states
  thread.c: threadstatus improve output and implement P9 stop
  libpdbg/p9chip.c: correct thread start for inactive and stopped
    threads
  libpdbg/p9chip: update thread status on stop, start, sreset
  libpdbg/p9chip.c: Add more steps to ram_setup
  libpdbg/p9chip.c: implement step support

 libpdbg/libpdbg.h |  19 +++++---
 libpdbg/p9chip.c  | 111 ++++++++++++++++++++++++++++++++++++++--------
 src/htm.c         |   5 ++-
 src/thread.c      | 102 ++++++++++++++++++++++++++----------------
 4 files changed, 172 insertions(+), 65 deletions(-)

-- 
2.17.0



More information about the Pdbg mailing list