delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/04/27/10:30:51

Date: Fri, 27 Apr 2001 16:34:16 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: pavenis AT lanet DOT lv
Message-Id: <4634-Fri27Apr2001163416+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9
CC: djgpp-workers AT delorie DOT com
In-reply-to: <3AE95FFE.10049.780CBA@localhost> (pavenis@lanet.lv)
Subject: Re: ANNOUNCE: Binutils 2.11 released
References: <3AE94FF8 DOT 10469 DOT 397395 AT localhost> (pavenis AT lanet DOT lv) <3AE95FFE DOT 10049 DOT 780CBA AT localhost>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

I looked at dwarf2read.c in the GDB distribution, and couldn't find
anything that would explain such total failure to recognize and/or
process line number information.

One thing that bothers me is that some of the comments in dwarf2read.c
seem to imply it was written for ELF files.  But I'm not sure how
accurate are those comments, and I don't know enough about ELF to see
if the code in dwarf2read.c indeed assumes something ELFish.

DJ, does Cygwin support dwarf2, and if so, did you need changes in GDB
for that support?

I did find in dwarf2read.c some issue with DOSish file names, for
which I'll submit a patch, but I don't think that could be a problem
in this simple test case, since it didn't involve absolute file names.
In order for me to DTRT in the patch, could someone please compile and
link with -gdwarf-2 files whose names are in DOS-style form, like
"d:/foo.c", "d:\foo\bar.c", and "d:/FOO/Bar.c", and see how do they
end up in the debug info?  In particular, do the backslashes stay as
backslashes, and is the file-name letter-case changed in any way?

- Raw text -


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