Re: ECOFF Dumper?

taj@vanbc.wimsey.com (Taj Khattra)
16 Feb 1996 23:46:59 -0500

          From comp.compilers

Related articles
ECOFF Dumper? nagler_robert@tandem.com (1996-02-09)
Re: ECOFF Dumper? imp@village.org (Warner Losh) (1996-02-10)
Re: ECOFF Dumper? meissner@cygnus.com (Michael Meissner) (1996-02-14)
Re: ECOFF Dumper? taj@vanbc.wimsey.com (1996-02-16)
| List of all articles for this month |

From: taj@vanbc.wimsey.com (Taj Khattra)
Newsgroups: comp.compilers
Date: 16 Feb 1996 23:46:59 -0500
Organization: Wimsey Information Services
References: 96-02-080 96-02-160
Keywords: linker

somebody wrote:
: | I am looking for a program that dumps the contents of an ECOFF binary.
: | I'm particularly interested in the line number information, but a full
: | dumper would be great. Thanks.


Modulo the overhead, a poor man's way of doing it might be to leverage
off a debugger like gdb that allows you to dump symbol information.


e.g. to get line number information:


                echo maint print symbols /tmp/foo | gdb -r a.out >/dev/null
awk '
/^Symtab for file/ { f=$4 }
/^ line / { print $4, f, $2 }
                ' /tmp/foo


-taj
--


Post a followup to this message

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