From: Alexander Larsson <alexl@redhat.com>
To: Jim Blandy <jimb@redhat.com>
Cc: gdb@sources.redhat.com, Ulrich Drepper <drepper@redhat.com>
Subject: Re: Final separate debug info patch
Date: Mon, 18 Nov 2002 23:51:00 -0000 [thread overview]
Message-ID: <Pine.LNX.4.44.0211190248380.10486-100000@devserv.devel.redhat.com> (raw)
In-Reply-To: <vt2r8dije7z.fsf@zenia.red-bean.com>
On 19 Nov 2002, Jim Blandy wrote:
> Is there any particular reason that the elfutils `strip -f' throws
> away all but the last component of the filenames given to it?
None in particular. I just didn't need the full pathname with the
search-method i used in the gdb patch.
> $ /home/jimb/elfutils/bin/strip -f `pwd`/foon call-rt-st
> $ objdump -s -j .gnu_debuglink call-rt-st
>
> call-rt-st: file format elf32-i386
>
> Contents of section .gnu_debuglink:
> 0000 666f6f6e 00000000 f74a8703 foon.....J..
> $
>
> It seems to me that strip should preserve the filename given in its -f
> argument. Let consumers of the .gnu_debuglink section decide for
> themselves what to do with it.
>
> Then, I think if the filename in the .gnu_debuglink section is
> absolute, GDB should try that path instead of searching in the
> directory containing the stripped file. Or it should at least try it
> at some point.
That makes sense to me. Uli? Is this ok with you?
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl@redhat.com alla@lysator.liu.se
He's a superhumanly strong Jewish romance novelist who must take medication to
keep him sane. She's a mistrustful hypochondriac bodyguard from a family of
eight older brothers. They fight crime!
next prev parent reply other threads:[~2002-11-19 7:51 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-09 1:54 Alexander Larsson
2002-11-18 21:20 ` Jim Blandy
2002-11-18 21:32 ` Daniel Jacobowitz
2002-11-19 3:53 ` Jim Blandy
2002-11-18 23:47 ` Alexander Larsson
2002-11-19 3:38 ` Jim Blandy
2002-11-19 3:57 ` Alexander Larsson
2002-11-19 12:47 ` Alexander Larsson
2002-11-20 21:43 ` Jim Blandy
2002-11-20 23:35 ` Alexander Larsson
2002-11-19 5:00 ` Jim Blandy
2002-11-18 22:11 ` Jim Blandy
2002-11-18 23:51 ` Alexander Larsson [this message]
2002-11-19 0:02 ` Ulrich Drepper
2002-11-19 3:47 ` Jim Blandy
2002-11-19 3:53 ` Alexander Larsson
2002-11-19 4:38 ` Jim Blandy
2002-11-24 20:28 ` Jim Blandy
2002-11-25 5:37 ` Alexander Larsson
2002-11-25 9:44 ` 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=Pine.LNX.4.44.0211190248380.10486-100000@devserv.devel.redhat.com \
--to=alexl@redhat.com \
--cc=drepper@redhat.com \
--cc=gdb@sources.redhat.com \
--cc=jimb@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