Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: RIP debug symbols [was Re: urtwn/RTL8188RU causing reboot]



On Tue, Jan 13, 2015 at 02:37:36PM +0100, Joachim Thiemann wrote:
> I was hoping it'd give me line numbers so I could look at the source
> code, or even directly the source (the difference between the stripped
> kernel and the gdb kernel is 25MB).

Maybe you want a cross gdb and use it on netbsd.gdb?

Building that is done by adding -V MKCROSSGDB=yes to the build.sh command
line, or setting it in /etc/mk.conf.

When you get a symbol from ddb, you can then do:

(gdb) list *(0x....)

or

(gdb) list *(lwp_start+0x18)

Martin


Home | Main Index | Thread Index | Old Index