[PATCH] xmon command for symbol lookups

Benjamin Herrenschmidt benh at kernel.crashing.org
Wed Feb 25 10:06:30 EST 2004


On Wed, 2004-02-25 at 10:05, Anton Blanchard wrote:
>  > Ah, I was reinventing the wheel! I'll bring that stuff over from ppc32
> > instead then.
>
> Not completely, ppc32 xmon doesnt use kallsyms. I do like the idea of
> doing lookups in disassembly too, Im not sure if ppc32 does that.

No, it doesn't and that's a good feature.

> > > Another _real cool_ feature is a dmesg in xmon btw :)
> > Yeah, I can look at that next.
>
> kdb adds all these nasty hooks into kernel/printk.c. I wonder if we cant
> make the relevant symbols not static so xmon, kdb, kgdb etc can get at
> them.

Yah, no need for hook, not even for non-static crap btw, we can use
kallsyms to locate the symbols :)

Ben.


** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list