From: "Raoul Gough" <RaoulGough@yahoo.co.uk>
To: gdb-patches@sources.redhat.com
Subject: Re: coffread.c extension for DLLs without debugging symbols
Date: Tue, 07 Jan 2003 01:03:00 -0000 [thread overview]
Message-ID: <avd8uf$hqs$1@main.gmane.org> (raw)
In-Reply-To: <20030104205130.GA9784@redhat.com>
"Christopher Faylor" <cgf@redhat.com> wrote in message
news:20030104205130.GA9784@redhat.com...
> On Sat, Jan 04, 2003 at 04:25:16PM -0000, Raoul Gough wrote:
> >"Christopher Faylor" <cgf@redhat.com> wrote in message
> >news:20030104044408.GA7364@redhat.com...
[snip]
> >>3) objdump -p already has the ability to read and report on the
export
> >>table. I wonder if it would be useful (or possible) to generalize
this
> >>code so that gdb and objdump would be using the same base. I
haven't
> >
> >I assumed that since ld did it the hard way, there wasn't any
proper
> >support for this in bfd - maybe that's not true. Obviously, sharing
> >this kind of code between code bases would be the ideal situation,
but
> >I don't think I've got enough of an overview to do that.
>
> Hmm. You're right ld does it the hard way doesn't it? Well, I
don't
> want to saddle you with one of those "The best way to deal with this
> is to redesign binutils, gcc, and awk so that it will all be
transparent
> to gdb" type of deals. If you can find some kind of common ground
in
> bfd that ld, gdb, and objdump (and who knows, objcopy?) can all use
then
> that would be a huge win. Otherwise your current plan is fine, IMO.
I've looked into the objdump code, and the relevant code in BFD seems
to be the function pe_print_edata which seems to originate in
peXXigen.c. Unfortunately, this just dumps the info in text form, and
doesn't provide any kind of iterator or callback interface. On the
other hand, the BFD code looks a lot cleaner than the stuff I got out
of ld, so I'm considering copying this code instead.
Of course it would be good to share the code, but this kind of thing
won't fit into the generic BFD interface. One possibility would be to
expose a platform-specific interface from within the BFD internals.
Can anyone suggest a BFD maintainer to talk to about this?
Regards,
Raoul Gough.
next prev parent reply other threads:[~2003-01-07 1:03 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-03 19:41 Raoul Gough
2003-01-04 0:53 ` Michael Snyder
2003-01-04 4:43 ` Christopher Faylor
2003-01-04 16:31 ` Raoul Gough
2003-01-04 17:54 ` Eli Zaretskii
2003-01-04 20:51 ` Christopher Faylor
2003-01-05 14:44 ` Mark Kettenis
2003-01-05 17:18 ` Christopher Faylor
2003-01-05 17:40 ` Daniel Jacobowitz
2003-01-07 1:03 ` Raoul Gough [this message]
2003-01-07 1:12 ` Daniel Jacobowitz
2003-01-07 13:11 ` Raoul Gough
2003-01-07 16:46 ` Christopher Faylor
2003-01-07 2:28 ` Michael Snyder
2003-01-07 2:24 ` Michael Snyder
2003-01-04 11:03 ` Eli Zaretskii
2003-01-04 16:21 ` Raoul Gough
2003-01-06 17:10 ` Elena Zannoni
2003-01-06 17:41 ` Christopher Faylor
2003-01-07 0:46 ` Raoul Gough
2003-01-07 1:53 ` Elena Zannoni
2003-01-10 22:45 ` Raoul Gough
2003-01-07 1:00 ` Andrew Cagney
2003-01-10 22:37 ` Raoul Gough
2003-01-04 16:42 Michael Elizabeth Chastain
2003-01-05 15:40 ` Andrew Cagney
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='avd8uf$hqs$1@main.gmane.org' \
--to=raoulgough@yahoo.co.uk \
--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