delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/07/25/05:37:28

Date: Sun, 25 Jul 1999 12:02:10 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp-workers AT delorie DOT com
cc: DJ Delorie <dj AT delorie DOT com>
Subject: Re: Symify for stabs
Message-ID: <Pine.SUN.3.91.990725120033.27488d-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

Once upon a time, a long, LONG time ago, DJ asked for a version of
SYMIFY that would be based on BFD functions, rather than on our
private syms.c from libdbg.a:

> Better, would someone like to write a version of stubify based on
> binutils's "addr2line" program, and get it included into binutils?
> That way, we'd automatically support whatever new object/debug formats
> come out.

Well, it took more than a year, but I finally got to making it happen.
I called the program BFDSYMIFY, but that's a temporary name (it also
exceeds DOS 8+3 limits, which isn't very nice), so if you have a
better name, I am open to suggestions.  My intent is to eventually ask
the Binutils maintainer to include this program as part of Binutils.

I uploaded to DJ's /incoming an archive called bfdsym.zip, which
includes the source and the binary of the first prototype.  My problem
is, I couldn't test it with anything but COFF debugging info.  So I'd
like people who use stabs debugging to please try this program with
stabs.  For starters, abort some program with Ctrl-BREAK and then run
`bfdsymify' on the stack dump.

The zip file includes, besides bfdsymify.exe, its source bfdsymify.c,
whose `main' function is a slightly modified one from `symify.c', a
Makefile, and the updated version of coffgen.c from the BFD library
that I used (see my other mail about this), which is taken from the
latest GDB sources with a small patch by me.

Please tell me how well does bfdsymify work (or doesn't work) for you.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019