Baijnath Jaiswal
Baijnath Jaiswal

Reputation: 387

Core dump : Extract all the global variables , data structures and sub-structures from a core dump

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

Answers (1)

Tom Tromey
Tom Tromey

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

Related Questions