Generating code for debugger (-g option). (Mohd Hanafiah Abdullah)
Wed, 16 Sep 1992 03:05:55 GMT

          From comp.compilers

Related articles
Generating code for debugger (-g option). (1992-09-16)
Generating code for debugger (-g option) (1992-09-17)
| List of all articles for this month |

Newsgroups: comp.compilers
From: (Mohd Hanafiah Abdullah)
Organization: Compilers Central
Date: Wed, 16 Sep 1992 03:05:55 GMT
Keywords: debug, question, comment


I wonder what are the issues involved when a compiler emits code to be
used by a debugger. For instance, if the symbol table
(compile-time-environment) is to be passed down, then is there an
established way of representing the symbol table; as well as other
debugger related info? Any tips and references are much appreciated.


[Unix object formats such as COFF and ELF have well-defined symbol table
formats for debugger support. For COFF, see the O'Reilly COFF book. For
ELF (actually DWARF, the symbol subformat) write to to
get on a mailing list that discusses DWARF design in, uh, considerable detail.

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.