kgdb can not set breakpoint on 5.2 kernel
Hi,
After updated the kernel from 5.0 to 5.2, it seems I can not set break point anymore .
I already tried add nokaslr option, also use the configure file that works normally on 5.0 kernel. On new kernel I always get following message when try to add a break point. What could be wrong ?
...
(gdb) b do_init_module
Breakpoint 1 at 0xffffffff8112ac77: file /shares/hsa/kernel/kernel/module.c, line 3455.
(gdb) c
Continuing.
Warning:
Cannot insert breakpoint 1.
Cannot access memory at address 0xffffffff8112ac77
Command aborted.
(gdb)
Thanks in advance.
|