diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2010-07-21 20:27:06 -0400 |
---|---|---|
committer | Jason Wessel <jason.wessel@windriver.com> | 2010-07-21 20:27:06 -0400 |
commit | 9e8b624fcaebf9c237b5be9116f4424bf168e6d1 (patch) | |
tree | 9c46796acdbb4bbfe6adbf89bc731dd6eb0adf19 /kernel/debug | |
parent | fb82c0ff27b2c40c6f7a3d1a94cafb154591fa80 (diff) |
Fix merge regression from external kdb to upstream kdb
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 <jason.wessel@windriver.com>
Diffstat (limited to 'kernel/debug')
-rw-r--r-- | kernel/debug/kdb/kdb_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/debug/kdb/kdb_main.c b/kernel/debug/kdb/kdb_main.c index a7fe2e98d613..7e9bfd54a0db 100644 --- a/kernel/debug/kdb/kdb_main.c +++ b/kernel/debug/kdb/kdb_main.c | |||
@@ -1883,6 +1883,7 @@ static int kdb_lsmod(int argc, const char **argv) | |||
1883 | kdb_printf(" (Loading)"); | 1883 | kdb_printf(" (Loading)"); |
1884 | else | 1884 | else |
1885 | kdb_printf(" (Live)"); | 1885 | kdb_printf(" (Live)"); |
1886 | kdb_printf(" 0x%p", mod->module_core); | ||
1886 | 1887 | ||
1887 | #ifdef CONFIG_MODULE_UNLOAD | 1888 | #ifdef CONFIG_MODULE_UNLOAD |
1888 | { | 1889 | { |