From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22072 invoked by alias); 16 Apr 2003 17:27:08 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 22034 invoked from network); 16 Apr 2003 17:27:07 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 16 Apr 2003 17:27:07 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 195qgn-00005a-00; Wed, 16 Apr 2003 12:27:17 -0500 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 195qga-0004R4-00; Wed, 16 Apr 2003 13:27:04 -0400 Date: Wed, 16 Apr 2003 17:27:00 -0000 From: Daniel Jacobowitz To: David Taylor Cc: gcc@gcc.gnu.org, gdb@sources.redhat.com Subject: Re: stabs and macro information Message-ID: <20030416172704.GB16947@nevyn.them.org> Mail-Followup-To: David Taylor , gcc@gcc.gnu.org, gdb@sources.redhat.com References: <200304161558.h3GFwJV09359@mailhub.lss.emc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200304161558.h3GFwJV09359@mailhub.lss.emc.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-04/txt/msg00167.txt.bz2 On Wed, Apr 16, 2003 at 11:58:19AM -0400, David Taylor wrote: > Currently, when invoked with -gdwarf-2 -g3, gcc will record macro > information in a .debug_macinfo elf section. And when presented with > an executable containing macro information in a .debug_macinfo > section, gdb will make use of it. > > Many companies, including EMC, still use stabs. So... it would be > nice if the same was true of stabs. A more interesting question, to me, is why EMC still needs to use stabs. They are an inferior debug format, extremely hard to parse or extend. GCC's and GDB's current implementations of DWARF-2 (and 3) are somewhat lacking, but it's all fixable. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer