Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: graydon hoare <graydon@redhat.com>
To: Daniel Jacobowitz <drow@mvista.com>
Cc: Andrew Cagney <ac131313@redhat.com>,
	Philippe Elie <phil.el@wanadoo.fr>,
	Nick Clifton <nickc@redhat.com>,
	oprofile-list@sourceforge.net, binutils@sources.redhat.com,
	gdb@sources.redhat.com
Subject: Re: separated debuginfo patch
Date: Fri, 18 Jul 2003 14:41:00 -0000	[thread overview]
Message-ID: <87vftzkidi.fsf@dub.venge.net> (raw)
In-Reply-To: <20030718140300.GA15751@nevyn.them.org>

Daniel Jacobowitz <drow@mvista.com> writes:

> On Fri, Jul 18, 2003 at 09:42:18AM -0400, Andrew Cagney wrote:
> > Philippe,
> > >
> > >[trying to avoid crc'ing the separate debug file]
> > >
> > >I need to know how GDB guys want I deal with the gdb part, for now
> > >gdb.diff just remove (#if 0) all duplicated code from bfd and use
> > >bfd_follow_gnu_debuglink() to retrieve the debug info file. Is it
> > >ok to remove this code or must I update the duplicated code according
> > >to the change in bfd ? 
> > 
> > I just wonder if it should eventually be made more transparent?
> >    bfd_openr (file, FOLLOW_DEBUG_LINK).
> > Doing things like:
> > 	objdump --follow-debug-link
> > would then become possible.  Regardless, it makes sense to put the 
> > algorighm in BFD.
> 
> It should.  I talked Graydon into trying this at the time he submitted
> the BFD part - it turned out to be a world of trouble given BFDs
> current data structure, and we bailed out.

yeah, we gave up on "transparent" access in bfd_openr due to the
ugliness of merging symbols from separate bfds; nonetheless the
requisite (distinct) debuglink-following function was added upstream.

http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/opncls.c.diff?r1=1.13&r2=1.14&cvsroot=src&f=h

-graydon


  reply	other threads:[~2003-07-18 14:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87wuf3s4q3.fsf@dub.venge.net>
     [not found] ` <3F02B1A5.5000102@wanadoo.fr>
     [not found]   ` <87adbwpkhj.fsf@dub.venge.net>
     [not found]     ` <3F03EB19.4090801@wanadoo.fr>
2003-07-04 10:04       ` Nick Clifton
2003-07-04 23:38         ` Philippe Elie
2003-07-04 23:40           ` Philippe Elie
2003-07-11 16:01             ` Nick Clifton
2003-07-18  6:42               ` Jim Blandy
2003-07-18  8:06                 ` Nick Clifton
2003-07-18 13:42           ` Andrew Cagney
2003-07-18 14:03             ` Daniel Jacobowitz
2003-07-18 14:41               ` graydon hoare [this message]
2003-07-18  7:32 Michael Elizabeth Chastain

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=87vftzkidi.fsf@dub.venge.net \
    --to=graydon@redhat.com \
    --cc=ac131313@redhat.com \
    --cc=binutils@sources.redhat.com \
    --cc=drow@mvista.com \
    --cc=gdb@sources.redhat.com \
    --cc=nickc@redhat.com \
    --cc=oprofile-list@sourceforge.net \
    --cc=phil.el@wanadoo.fr \
    /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