Re: ECOFF Dumper? (Taj Khattra)
16 Feb 1996 23:46:59 -0500

          From comp.compilers

Related articles
ECOFF Dumper? (1996-02-09)
Re: ECOFF Dumper? (Warner Losh) (1996-02-10)
Re: ECOFF Dumper? (Michael Meissner) (1996-02-14)
Re: ECOFF Dumper? (1996-02-16)
| List of all articles for this month |

From: (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


Post a followup to this message

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