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

From: Andi Kleen
Date: Mon Jan 21 2013 - 16:19:15 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/