On Tue 2019-07-09 15:34 -0400, Dave Anderson wrote:
Hi Aaron,
Hi Dave,
I didn't mean to scare you off, but at the same time I think you
understand how strongly I prefer to avoid screwing around with the
gdb code unless it's absolutely necessary. (Not to mention that
the dual-patching of printcmd.c by both gdb-7.6.patch and the
gdb-7.6-ppc64le-support.patch, may have made it unworkable.)
Not at all. I understand. Unfortunately, I was on holiday so didn't have an
opportunity to follow up.
So I took my own advice, and implemented the "dis -[rf] address
count"
capability with a simple patch to the top-level kernel.c disassembly
code:
https://github.com/crash-utility/crash/commit/6c891b667f75543db279e1a29bf...
Excellent - I was working on a similar solution today anyway.
Thanks,
--
Aaron Tomlin