Reputation: 387
how to extract all the global variables , data structures and sub-structures (with address, type and values) from core dump,using gdb-python, generated after crashing of a C code.?
Upvotes: 1
Views: 1061
Reputation: 22529
There isn't a way to iterate over symbol tables from Python yet. So, it can't be done.
However, adding support to expose this information to Python would be a reasonable thing to do.
Upvotes: 1