Re: ever and ever the same ooops

Stephen C. Tweedie (sct@redhat.com)
Wed, 10 Feb 1999 16:31:50 GMT


Hi,

On Wed, 10 Feb 1999 08:16:52 PST, "Fabien Klein" <fabklein@hotmail.com>
said:

> is it working with modules??

Yes, but I don't think you get symbolic information from modules.

> Have you ever use this debugger personnaly?

Yes.

> Is seems powerfull, but the last time i wanted to use a debugger (
> kgdb ),i lost a lot of time and the results were poor ...but i keep
> the faith and i m gonna try it soon

It's *much* better. You can debug device drivers and interrupt code
easily. You can set breakpoints anywhere you want.

The only thing to watch is that although the gdbstub patch turns on "-g"
for the kernel compilation, it doesn't turn of "-fomit-frame-pointer".
Debugging with frame pointers is much better since you then get full
stacktrace information when you enter the debugger.

--Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/