From: mec.gnu@mindspring.com (Michael Elizabeth Chastain)
To: ezannoni@redhat.com
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFC/WIP] unit test for separate debug info
Date: Tue, 11 Nov 2003 21:19:00 -0000 [thread overview]
Message-ID: <20031111211924.9D4F94B361@berman.michael-chastain.com> (raw)
Hi Elena,
mec> gdb.base/break original executable
mec> gdb.base/break.stripped stripped executable
mec> gdb.base/break.sym debug symbols
mec> gdb.base/break.debuglink output of --add-gnu-debuglink
eza> gdb.base/break-->original executable
eza> gdb.base/break.stripped-->stripped exec
eza> gdb.base/.debug/break.debug-->debuginfo only
eza> gdb.base/break-->original exec minus debug symbols plus link to the .debug file
Ah, I was mixing two things together. I definitely prefer the doco
in the format above. That's one thing. I was also adding in my own
preferences for the file names. That's a different thing.
I like gdb.base/break.sym or gdb.base/break.debug a lot more than
gdb.base/.debug/break.debug. That keeps all the files parallel
instead of some files inside a dot directory.
mec> I would really like break.debuglink to be a separate file from the
mec> original file. If somebody is debugging this process, it's much better
mec> to have each file be unique.
eza> At first thought I'd say no, because that's not what you'll encounter
eza> in practice. You would be testing something different. Close but
eza> different.
I see your point. And I see that you see my point. :) I guess
I'm on your side now. It's important to test what people actually do.
Although if I were building these things as end user of gcc/binutils/gdb,
I would build:
break.full # full debugging info
break.stripped # stripped executable
break.sym # symbols
break.ship # break.full - symbols + link to break.sym
break # copy of break.ship
Oh, yeah, I also like the MS-DOS convention of 'break.exe'
and I would like to change Unix to do that also. So I have
weird taste.
Michael C
next reply other threads:[~2003-11-11 21:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-11 21:19 Michael Elizabeth Chastain [this message]
2003-11-11 21:22 ` Daniel Jacobowitz
2003-11-12 14:44 ` Elena Zannoni
-- strict thread matches above, loose matches on Subject: below --
2003-11-08 1:28 Michael Elizabeth Chastain
2003-11-11 16:26 ` Elena Zannoni
2003-11-07 20:21 Michael Elizabeth Chastain
2003-11-07 20:03 Elena Zannoni
2003-11-07 20:39 ` Kevin Buettner
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=20031111211924.9D4F94B361@berman.michael-chastain.com \
--to=mec.gnu@mindspring.com \
--cc=ezannoni@redhat.com \
--cc=gdb-patches@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