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)
commitf30fed10c440a25937e509860fa207399b26efe5
tree7697f5e044f1a870d0ddd1e5953d494cb3d9643e
parenta0d271cbfed1dd50278c6b06bead3d00ba0a88f9
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