Skip to content
Commit 23a67619 authored by Khalid Masum's avatar Khalid Masum Committed by Linus Torvalds
Browse files

scripts/gdb: Fix gdb 'lx-symbols' command



Currently the command 'lx-symbols' in gdb exits with the error`Function
"do_init_module" not defined in "kernel/module.c"`. This occurs because
the file kernel/module.c was moved to kernel/module/main.c.

Fix this breakage by changing the path to "kernel/module/main.c" in
LoadModuleBreakpoint.

Signed-off-by: default avatarKhalid Masum <khalid.masum.92@gmail.com>
Acked-by: default avatarLuis Chamberlain <mcgrof@kernel.org>
Fixes: cfc1d277

 ("module: Move all into module/")
Reviewed-by: default avatarDouglas Anderson <dianders@chromium.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 44e29e64
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment