About this document
GDB Disassembly and Source Mapping by John Sherchan is a document available to read on EtoBox.
The document discusses using the info line and disassemble commands in GDB to map between source code lines and machine code addresses. It explains that info line prints the starting and ending addresses of compiled code for a given source line, and can be used to discover the location of object code for specific lines. An example is given showing how info line can be used to find the address range for the first line of the m4_changequote function.
- Author
- John Sherchan
- Language
- EN