v_andal Guru
Joined: 26 Aug 2008 Posts: 544 Location: Germany
|
Posted: Tue Nov 19, 2024 3:40 pm Post subject: gdb accepts no breakpoint |
|
|
Hello, it may appear "old problem", but the solutions offered in 2004 didn't work for me
When I run a program in gdb and set a breakpoint (on main or anywhere else), then after "run" I get following "Warning":
Quote: |
Cannot insert breakpoint 1.
Cannot access memory at address 0x5555555553a2
|
This is my own program which is compiled with "-g" and even "-ggdb". I don't have hardened Kernel, at least I haven't configured it explicitly. I use latest GDB (15.2-r100).
If breakpoint is not set, then command "run" executes program without any error to the end. Which is kind of useless without breakpoints
So, maybe someone can offer more insights? |
|