Skip to content

Commit

Permalink
Fix merge regression from external kdb to upstream kdb
Browse files Browse the repository at this point in the history
In the process of merging kdb to the mainline, the kdb lsmod command
stopped printing the base load address of kernel modules.  This is
needed for using kdb in conjunction with external tools such as gdb.

Simply restore the functionality by adding a kdb_printf for the base
load address of the kernel modules.

Signed-off-by: Jason Wessel <[email protected]>
  • Loading branch information
jwessel committed Jul 22, 2010
1 parent fb82c0f commit 9e8b624
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/debug/kdb/kdb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1883,6 +1883,7 @@ static int kdb_lsmod(int argc, const char **argv)
kdb_printf(" (Loading)");
else
kdb_printf(" (Live)");
kdb_printf(" 0x%p", mod->module_core);

#ifdef CONFIG_MODULE_UNLOAD
{
Expand Down

0 comments on commit 9e8b624

Please sign in to comment.