From: Daniel Jacobowitz <drow@mvista.com>
To: Michael Elizabeth Chastain <mec.gnu@mindspring.com>
Cc: ezannoni@redhat.com, gdb-patches@sources.redhat.com
Subject: Re: [RFC/WIP] unit test for separate debug info
Date: Tue, 11 Nov 2003 21:22:00 -0000 [thread overview]
Message-ID: <20031111212253.GA19636@nevyn.them.org> (raw)
In-Reply-To: <20031111211924.9D4F94B361@berman.michael-chastain.com>
On Tue, Nov 11, 2003 at 04:19:24PM -0500, Michael Elizabeth Chastain wrote:
> 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.
The dot directory is special - GDB knows to search $dir/.debug/ for
these files, and that's how it will be used in the real world. I
believe it's usually:
/usr/lib/libfoo.so
/usr/lib/.debug/libfoo.so
> 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
Sure, you might build them that way. But you wouldn't ship/install
them that way.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2003-11-11 21:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-11 21:19 Michael Elizabeth Chastain
2003-11-11 21:22 ` Daniel Jacobowitz [this message]
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=20031111212253.GA19636@nevyn.them.org \
--to=drow@mvista.com \
--cc=ezannoni@redhat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=mec.gnu@mindspring.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