Re: SGI XFS on ppc

2 messages, 2 authors, 2000-07-31 · open the first message on its own page

Re: SGI XFS on ppc

From: Keith Owens <hidden>
Date: 2000-07-31 02:02:25

On Sun, 30 Jul 2000 21:20:38 -0400,
Dan Malek [off-list ref] wrote:
Keith Owens wrote:
quoted
.....  It should only be
included if you select kdb but kdb has not been ported to ppc.  I
maintain modutils, kallsyms and kdb.

Ummm...I use kgdb and xmon on ppc, at least the ones with serial
ports.  Is there yet another debugger for the kernel?
kgdb uses the remote gdb interface to debug the kernel and is very
useful provided the kernel is actually running.  The problem with
remote gdb is that it needs some support from the remote kernel for
things like page I/O.  If the cpu gets into a spin loop when interrupts
are disabled then you cannot access gdb to debug it.  Also things like
single step do not work work when interrupts are disabled.  However gdb
is very useful for debugging the higher layers of the kernel.

kdb is a really low level debugger, it can be used in interrupts and
has hooks to detects runaway spin loops and drop into the debugger.  It
requires no kernel support, it accesses the I/O hardware itself.  The
downside of kdb is you do not get the nice symbol printing that gdb can
do.  kdb knows where all the symbols are and can convert addresses to
symbols and offsets, but it cannot do source line listing nor do pretty
prints of structures.


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

Re: SGI XFS on ppc

From: Dan Malek <hidden>
Date: 2000-07-31 02:10:45

Keith Owens wrote:
kdb is a really low level debugger,
This sounds like xmon....I guess I'll wait for Paul to reply and
tell me it is the same thing :-).


	-- Dan

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help