|[Q] Getting COFF debugging information email@example.com (David W. Coppit) (1997-07-13)|
|From:||"David W. Coppit" <firstname.lastname@example.org>|
|Date:||13 Jul 1997 11:33:16 -0400|
|Organization:||University of Virginia|
I wrote a little utility to get the beginning and ending line numbers
of a function from the stabs information dumped by "objdump --stabs
binaryfile". I'd like to make this utility compatible with the COFF
debugging formats (a la the Sun compiler), but I can't get objdump to
decode the line number information, and objcopy doesn't seem to be
able to see it.
I know it's there, because I can fire up dbx and list the function
that way. This, however seems to be quite a large cloodge and I'd like
to avoid it if possible. Does anyone have any suggestions on how I
might go about this?
The BFD library seems to have only minimal documentation, and looks
like quite a time-consuming route to take. (Besides, objdump uses BFD,
so the results probably won't be much better than that.)
David Coppit - Ph.D. Graduate Student email@example.com
The University of Virginia http://www.cs.virginia.edu/~dwc3q
Return to the
Search the comp.compilers archives again.