I'm trying to debug some code on Linux.
There's an arbitrary memory location I need the program to jump to.
This location is result of calling mmap with appropriate protection flags for executing a piece of code.
When trying to set break point like this:
I get the following message:
Function "0x00007ffff7fcf000" not defined. Make breakpoint pending on future shared library load? (y or [n])
If I answer no, then no breakpoint is triggered, and if I answer yes, then still no breakpoint is triggered. How can I make gdb set a breakpoint on this address?