[Pdbg] [PATCH 00/14] some pdbg improvements

Nicholas Piggin npiggin at gmail.com
Mon Apr 9 17:35:08 AEST 2018


Here's a few things I've been carrying around, should push them
upstream. Mostly they're independent so most can be picked up
out of order.

I've only been testing this with host scoms so far, so that's a
bit of a gap, but it works reasonably well here. I haven't got a BMC
build environment going yet.

Thanks,
Nick

Nicholas Piggin (14):
  libpdbg/p9chip.c: update timeouts for special wakeup and stop
  libpdbg/p9chip.c: remove sreset SRR1 workaround
  libpdbg/target: add a release operation
  pdbg: release targets on error, start, sreset, and probe
  libpdbg/p9chip.c: Implement target release to lower special wakeup
  libpdbg/p9chip.c: use the OTR special wakeup status latch
  libpdbg/p9chip.c: do not fence interrupts when stopping threads
  libpdbg/p9chip.c: implement step support
  libpdbg/p9chip.c: have start clear maint
  libpdbg/p9chip.c: allow sreset on running threads
  libpdbg/p9chip.c: Add more steps to ram_setup
  libpdbg/p9chip.c: ram allow ram to be used on running threads
  pdbg: expert mode
  pdbg: add 'regs' command

 libpdbg/chip.c    |  92 ++++++++++++++++++++++++++++++++++++----
 libpdbg/libpdbg.h |   2 +
 libpdbg/p9chip.c  | 104 ++++++++++++++++++++++++++++++++++++++--------
 libpdbg/target.c  |  29 +++++++++++++
 libpdbg/target.h  |   1 +
 src/main.c        |  35 ++++++++++++++--
 src/thread.c      |  32 +++++++++++++-
 src/thread.h      |   1 +
 8 files changed, 265 insertions(+), 31 deletions(-)

-- 
2.17.0



More information about the Pdbg mailing list