aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/vmlinux-gdb.py
diff options
context:
space:
mode:
authorJan Kiszka <[email protected]>2015-02-17 13:46:52 -0800
committerLinus Torvalds <[email protected]>2015-02-17 14:34:53 -0800
commit82b41e3d6113291258c65281144bce946553dfed (patch)
tree864930d353e36989bf5c7c5d378e5eb39cac25d9 /scripts/gdb/vmlinux-gdb.py
parentbe02a1862304b126cd6ba4f347fa5db59460a776 (diff)
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 <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Jason Wessel <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Ben Widawsky <[email protected]> Cc: Borislav Petkov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions