From: Jan Kiszka Date: Tue, 17 Feb 2015 21:46:52 +0000 (-0800) Subject: scripts/gdb: add automatic symbol reloading on module insertion X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~62^2~24 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82b41e3d6113291258c65281144bce946553dfed;p=pandora-kernel.git scripts/gdb: add automatic symbol reloading on module insertion This installs a silent breakpoint on the do_init_module function. The breakpoint handler will try to load symbols from the module files found during lx-symbols execution. This way, breakpoints can be set to module initialization functions, and there is no need to explicitly call lx-symbols after (re-)loading a module. Signed-off-by: Jan Kiszka Cc: Thomas Gleixner Cc: Jason Wessel Cc: Andi Kleen Cc: Ben Widawsky Cc: Borislav Petkov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed