mbox series

[00/14] gdbserver fixes and POWER10 support

Message ID 20220314041735.542867-1-npiggin@gmail.com
Headers show
Series gdbserver fixes and POWER10 support | expand

Message

Nicholas Piggin March 14, 2022, 4:17 a.m. UTC
POWER10 seems to work nicely with sbefifo (modulo the start
SBE command being buggy with stop states -- make sure you
stop and start using -b kernel backend when testing this).

gdbserver itself was due for a bit of attention. It still really
needs proper all-stop multi threaded support that can take over
all threads and start/stop them. Because all threads on a chiplet
have to be stopped to debug it, but if we only control one
thread with the debugger then continuing execution is rarely
useful outside controlled special cases.

Thanks,
Nick

Nicholas Piggin (14):
  gdbserver: update gdb_parser_precompile.c, rename detach command
  gdbserver: include <port> argument in command line help text
  gdbserver: print some client/server info
  gdbserver: Make command static
  gdbserver: use standard compatibility test calls
  gdbserver: fix read buffer overflow
  gdbserver: fix interrupt double response
  libpdbg: thread_regs don't print regs
  gdbserver: lexer fixes
  gdbserver: implement NoAckMode
  libpdbg: Remove enable_attn target command
  gdbserver: disable attn after breaking
  gdbserver: use read-modify-write for put_mem that is not 8-byte
    aligned
  gdbserver: Add POWER10 support

 libpdbg/chip.c              |   2 -
 libpdbg/hwunit.h            |   1 -
 libpdbg/p8chip.c            |  31 ---
 libpdbg/thread.c            |   7 +-
 src/gdb_parser.rl           |  76 +++++---
 src/gdb_parser_precompile.c | 378 +++++++++++++++++++++---------------
 src/main.c                  |   2 +-
 src/pdbgproxy.c             | 130 ++++++++++---
 src/pdbgproxy.h             |   2 +-
 src/thread.c                |   2 +
 10 files changed, 378 insertions(+), 253 deletions(-)