From: Jim Blandy <jimb@redhat.com>
To: Kean Johnston <jkj@sco.com>
Cc: "Nathan J. Williams" <nathanw@wasabisystems.com>,
Andrew Cagney <cagney@gnu.org>,
Michael Elizabeth Chastain <mec.gnu@mindspring.com>,
ezannoni@redhat.com, gdb@sources.redhat.com
Subject: Re: Phasing out Dwarf 1?
Date: Wed, 05 May 2004 05:57:00 -0000 [thread overview]
Message-ID: <vt27jvr2zen.fsf@zenia.home> (raw)
In-Reply-To: <4097CE64.4040101@sco.com>
Kean Johnston <jkj@sco.com> writes:
> > This seems like a poor argument. The availibility and suitability of
> > modern GCC for building GDB does not imply that modern GCC will be
> > suitable for building the application to be debugged.
>
> I agree. I think phasing out a whole debugging format
> is ill-advised. Most people dont want to keep around
> multiple versions of a tool. If I need to debug an
> old binary becuase the libc I replaced today is breaking
> something, I think I have a reasonable expectation of
> being able to do so. I think it is quite appropriate to
> phase out the *generation* of said format, but not its
> interpretation in a debugger.
You're assuming it's basically free to keep Dwarf 1 support in GDB. I
don't think that's the case.
If someone wants to work on the interfaces the debug readers use to
the format-independent portion of GDB, then the Dwarf 1 reader is one
more client of those interfaces to take into account.
If you look in the ChangeLogs, you can see that dwarfread.c continues
to require periodic tweaks. But these are almost all mechanical
changes that somebody found by 'grep', or things the compiler caught.
How many bugs have been introduced by semantic shifts elsewhere in GDB
that the compiler has been unable to detect? I'll bet there are a
lot. In these circumstances, it seems like wishful thinking to say
that GDB supports Dwarf 1.
I would be happy if either:
- a volunteer were to adopt the Dwarf 1 reader, test it regularly
against any compiler (GCC or otherwise), and work on reducing the
number of test suite failures it has over the more actively
maintained readers, or
- we were to delete the Dwarf 1 reader, and make it that much easier
for people to do symtab work.
But to leave the code there, with no active volunteers to keep it
useful, is the worst of both worlds.
next prev parent reply other threads:[~2004-05-05 5:57 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-03 15:56 Michael Elizabeth Chastain
2004-05-04 15:37 ` Andrew Cagney
2004-05-04 17:09 ` Nathan J. Williams
2004-05-04 17:19 ` Kean Johnston
2004-05-05 0:28 ` Stan Shebs
2004-05-05 5:57 ` Jim Blandy [this message]
2004-05-10 21:09 ` Andrew Cagney
2004-05-05 5:03 Michael Elizabeth Chastain
2004-05-05 5:24 Michael Elizabeth Chastain
2004-05-05 14:31 ` Andrew Cagney
2004-05-05 16:05 ` Kean Johnston
2004-05-05 18:30 ` Stan Shebs
2004-05-05 18:53 ` Kean Johnston
2004-05-05 21:33 Michael Elizabeth Chastain
2004-05-05 22:01 Michael Elizabeth Chastain
2004-05-06 14:02 ` Andrew Cagney
2004-05-06 20:11 ` Mark Kettenis
2004-05-06 15:00 Michael Elizabeth Chastain
2004-05-07 1:19 ` Andrew Cagney
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=vt27jvr2zen.fsf@zenia.home \
--to=jimb@redhat.com \
--cc=cagney@gnu.org \
--cc=ezannoni@redhat.com \
--cc=gdb@sources.redhat.com \
--cc=jkj@sco.com \
--cc=mec.gnu@mindspring.com \
--cc=nathanw@wasabisystems.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