Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@redhat.com>
To: Philippe Elie <phil.el@wanadoo.fr>
Cc: Nick Clifton <nickc@redhat.com>,
	graydon@redhat.com, oprofile-list@sourceforge.net,
	binutils@sources.redhat.com, gdb@sources.redhat.com
Subject: Re: separated debuginfo patch
Date: Fri, 18 Jul 2003 13:42:00 -0000	[thread overview]
Message-ID: <3F17F93A.4030805@redhat.com> (raw)
In-Reply-To: <3F062EDF.4060801@wanadoo.fr>

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.

Nick wrote:
> Overall though I like the patch and the solution.  If we can get the
> GDB maintainers to agree (or at least not object to) adding the extra
> field at the end of the .gnu-debuglink section then I would be happy
> to review a final version of the patch.  (Note - you will need a FSF
> copyright assignment as well...)

Well, the so called GNU debuglink mechanism was never actually discussed 
on a GNU list, re-visiting it now sounds like a good idea.  Looks to me 
like you've come up with something actually useful.

Perhaps someone should post a revised description and have it added to 
the BFD doco.  Here's the current description from GDB:
http://sources.redhat.com/gdb/current/onlinedocs/gdb_16.html#SEC134

Andrew



  parent reply	other threads:[~2003-07-18 13:42 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 [this message]
2003-07-18 14:03             ` Daniel Jacobowitz
2003-07-18 14:41               ` graydon hoare
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=3F17F93A.4030805@redhat.com \
    --to=ac131313@redhat.com \
    --cc=binutils@sources.redhat.com \
    --cc=gdb@sources.redhat.com \
    --cc=graydon@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