I am writing a python gdb extension. Given the address of a structure, I would like to read the core file and obtain a gdb.Value
object out of it. How do I go about doing that?
In gdb while debugging a core file, how do I read a structure given the address using a python gdb extension?
26 views Asked by Mayank At
1
I started with this test program:
Compile (with debug info) the program, run it and it crashes, dumping core. Load the program and corefile into GDB, and then: