This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Disassemble binary with Debug info


David Daney schrieb:
If it really contains full debugging information, you can load it into gdb and use ptype and friends to print the definitions of all types.

David Daney


Yeah, that's what I already got with objdump. It gave me all typedefs in one text file.
What I want is a Disassembler or Debugger that actually uses this information to make the assembler code more readable.
I mean, from the objdump output, I can see that the debug information holds all variable's names and their type. The types themselves (if custom) are also defined. Therefore, a disassembler could use that to make the code easier to read.
Do you see what I mean?



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]