Is it possible to load a file full of binary data into GDB when GDB is debugging a core file?
- by efunneko
I am debugging a crash using GDB and a core file. A large portion of the memory space is mmapped into the process. That portion of the memory is not saved into the core file. I have a file that contains all the data in that mmapped memory.
I would like to find a way to load the data from that file into GDB at a certain offset so that I can display datastructures within that address space. Is this possible?
Note that I have tried the 'restore' command in GDB and it does not work when debugging a core file.
Perhaps there are tools that allow a core file to have additional data appended to it?