public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Daniel Berlin <dberlin@dberlin.org>
To: Daniel Jacobowitz <drow@mvista.com>
Cc: David Taylor <dtaylor@emc.com>, gcc@gcc.gnu.org, gdb@sources.redhat.com
Subject: Re: stabs and macro information
Date: Wed, 16 Apr 2003 20:29:00 -0000	[thread overview]
Message-ID: <2EE8F46C-704A-11D7-A180-000393575BCC@dberlin.org> (raw)
In-Reply-To: <20030416172704.GB16947@nevyn.them.org>


On Wednesday, April 16, 2003, at 01:27  PM, Daniel Jacobowitz wrote:

> 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.
I didn't want to get into this argument, as there are companies that 
have valid reasons not to use DWARF2 given the current implementations, 
particularly those compaonies that end up with 1 gigabyte with stabs 
info, and 5 gigabytes with dwarf2 info, or something like that.

However, I was going to ask whether the cost of *adding* more features 
to the STABS implementations in gdb and gcc is worth the future 
maintenance cost at this point in the life of 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.

And, more importantly, in the process of being fixed.
:)

>
> -- 
> Daniel Jacobowitz
> MontaVista Software                         Debian GNU/Linux Developer

  parent reply	other threads:[~2003-04-16 20:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-16 15:58 David Taylor
2003-04-16 16:47 ` Daniel Berlin
2003-04-16 17:16   ` David Taylor
2003-04-16 17:25     ` Daniel Jacobowitz
2003-04-16 17:38     ` Andrew Cagney
2003-04-16 17:27 ` Daniel Jacobowitz
2003-04-16 17:59   ` David Taylor
2003-04-16 20:29   ` Daniel Berlin [this message]
2003-04-17 16:39     ` David Taylor
2003-04-17 16:46       ` Daniel Jacobowitz
2003-04-24  3:20 ` Jim Blandy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2EE8F46C-704A-11D7-A180-000393575BCC@dberlin.org \
    --to=dberlin@dberlin.org \
    --cc=drow@mvista.com \
    --cc=dtaylor@emc.com \
    --cc=gcc@gcc.gnu.org \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).