Skip to contentSkip to conversation

xmon debugger doc?

DISCUSSION Steve Wise 3 participants 3 messages Apr 12, 2007 – Apr 13, 2007

lore
Share & tools
lore

Steve Wise

author
#0 lore raw

Can someone please point me at ppc64 xmon debugger usage / documentation? I've had little luck finding info on-line.

Thanks in advance,

Steve.

#1 lore raw
Quoted 2 lines · Steve Wise

Can someone please point me at ppc64 xmon debugger usage / documentation? I've had little luck finding info on-line.

The help output from it is pretty much all there is.

You might have better luck asking on [email protected] though (adding as Cc).

There's also an old writeup at
http://mbligh.org/linuxdocs/Kernel/DebuggingPPC64 for the very basics of digging through a crash. Some of it is likely out of date by now.

-Olof

#2 lore raw
Quoted 4 lines · Olof Johansson
Quoted 2 lines · Steve Wise

Can someone please point me at ppc64 xmon debugger usage / documentation? I've had little luck finding info on-line.

Quoted 8 lines

The help output from it is pretty much all there is.

You might have better luck asking on [email protected] though (adding as Cc).

There's also an old writeup at
http://mbligh.org/linuxdocs/Kernel/DebuggingPPC64 for the very basics of digging through a crash. Some of it is likely out of date by now.

A good trick which the help output doesn't mention is that % and $ are special in input, so you can do:

0:mon> di %pc

disassemble instructions at address pointed to by register PC

Other regs are eg: %lr, %r1, %r12.
And it works with di, d and other commands.

Also:

0:mon> di $.xmon_register_spus

disassemble instructions at address of symbol .xmon_register_spus.

cheers

Signature · 8 lines
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person