www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/04/27/03:34:13

Date: Fri, 27 Apr 2001 09:23:57 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "Mark E." <snowball3 AT bigfoot DOT com>
Message-Id: <3405-Fri27Apr2001092357+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 AT delorie DOT com
In-reply-to: <200104261711.NAA00607@delorie.com> (snowball3@bigfoot.com)
Subject: Re: ANNOUNCE: Binutils 2.11 released
References: <200104261711 DOT NAA00607 AT delorie DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "Mark E." <snowball3 AT bigfoot DOT com>
> Date: Thu, 26 Apr 2001 13:01:10 -0400
> 
> GCC 3.0 when released will produce DWARF2 debug info with the '-gdwarf-2' 
> switch. The next version of GDB for DJGPP will presumably support DWARF2.

DWARF2 should already be supported by GDB; I don't have any
DJGPP-specific items on my todo regarding DWARF2.

There's work under way by the GDB maintainers (not specific to the
DJGPP port) to enhance GDB's support of non-trivial C++ code with
DWARF2 debug info, but the basic support should already be there.  For
example, you should be able to compile a C program with -O3 and be
able to step through inlined functions and examine register variables
without any problems we are used to with COFF and stabs.

If you can build a program with -gdwarf-2, please try debugging it.
If that doesn't work, please tell the details, so any problems could
be debugged and fixed for the next GDB release.

Thanks.

- Raw text -


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