]> git.baikalelectronics.ru Git - kernel.git/commit
kgdb: Add module event hooks
authorJason Wessel <jason.wessel@windriver.com>
Fri, 12 Oct 2012 11:37:33 +0000 (06:37 -0500)
committerJason Wessel <jason.wessel@windriver.com>
Fri, 12 Oct 2012 11:37:33 +0000 (06:37 -0500)
commit1ad9008293f2ccef9a8d878aabe2840a490e53b9
tree7697f5e044f1a870d0ddd1e5953d494cb3d9643e
parentcd51c56a48839bb64110da1630f05af7f35b5857
kgdb: Add module event hooks

Allow gdb to auto load kernel modules when it is attached,
which makes it trivially easy to debug module init functions
or pre-set breakpoints in a kernel module that has not loaded yet.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
kernel/debug/debug_core.c