Re: [PATCH v4 03/13] scripts/gdb: Add lx-symbols command

Andi Kleen
2013-01-21T21:19:31Z

On Mon, Jan 21, 2013 at 06:06:10PM +0100, Jan Kiszka wrote:
> This is probably the most useful helper when debugging kernel modules:
> lx-symbols will first reload vmlinux. Then it searches recursively for
> *.ko files in the specified paths and the current directory. Finally it
> walks the kernel's module list, issuing the necessary add-symbol-file
> command for each loaded module so that gdb know which module symbol
> correspond to which address.

Yes sounds very useful. I usually have to build everything
statically for gdb debugging. Would definitely use it if it was
in the standard tree.

-Andi