[Pdbg] [PATCH 00/10] pdbg fixes and improvements related to gdbserver

Nicholas Piggin npiggin at gmail.com
Tue May 31 19:14:47 AEST 2022


Here's a bunch of things that came up when trying to work out what's
wrong with using attn for breakpoints in gdbserver.

After fixing some fused-core issues, turning off attn_handler service
on the BMC seems to allow breakpoints to work reliably. Although
executing attn can still cause the host skiboot PSI subsystem to
print the "Masking unhandled LSI global_err" error. Not sure why the
host gets these, I thought they only went to the BMC... That's
another thing to work out and fix up but it doesn't seem to be
harmful.

Thanks,
Nick

Nicholas Piggin (10):
  sbefifo: correct typo in thread target name
  gdbserver: Fix attn enable HID change icache flushing sequence
  gdbserver: use TRAP for step stop reason
  p9chip: implement SMT state thread state
  libpdbg: implement fused-core and lpar-per-thread thread status
  libpdbg: move core state into struct core
  thread: print core state with threadstatus
  libpdbg: add fused-core thread id
  gdbserver: Fix POWER10 fused-core SPATTN register handling
  gdbserver: Add a note about the attn_handler service on the BMC

 README.md         | 15 +++++++--
 libpdbg/chip.h    |  3 ++
 libpdbg/hwunit.h  |  3 ++
 libpdbg/libpdbg.h | 19 +++++++++++
 libpdbg/p10chip.c | 77 +++++++++++++++++++++++++++++++++------------
 libpdbg/p8chip.c  | 39 ++++++++++++++++++-----
 libpdbg/p9chip.c  | 58 ++++++++++++++++++++++++++++++++--
 libpdbg/sbefifo.c | 51 +++++++++++++++++++++++++++++-
 libpdbg/thread.c  |  9 ++++++
 src/pdbgproxy.c   | 80 +++++++++++++++++++++++++++++++++++++----------
 src/thread.c      | 46 +++++++++++++++++++++++++--
 11 files changed, 349 insertions(+), 51 deletions(-)

-- 
2.35.1



More information about the Pdbg mailing list