Generating code for debugger (-g option).

napi@jaring.ism.my (Mohd Hanafiah Abdullah)
Wed, 16 Sep 1992 03:05:55 GMT

          From comp.compilers

Related articles
Generating code for debugger (-g option). napi@jaring.ism.my (1992-09-16)
Generating code for debugger (-g option) ssimmons@convex.com (1992-09-17)
| List of all articles for this month |

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

Hi,


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.


Thanks.


Napi
[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 plsig-request@ui.com to
get on a mailing list that discusses DWARF design in, uh, considerable detail.
-John]
--


Post a followup to this message

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