From: Paul Koning <pkoning@equallogic.com>
To: mark.kettenis@xs4all.nl
Cc: drow@false.org, gdb@sources.redhat.com
Subject: Re: solib search algorithm for cross-gdb
Date: Wed, 03 Aug 2005 19:29:00 -0000 [thread overview]
Message-ID: <17137.6901.979049.779@gargle.gargle.HOWL> (raw)
In-Reply-To: <200508031915.j73JF4Oc008117@elgar.sibelius.xs4all.nl>
When I said "cross-gdb" I was thinking about host != target -- for
example an Intel host and a MIPS target. Using the literal library
path can't possibly be right in that case.
Daniel suggests some other cases that are more dynamic -- host ==
target but we're doing remote debugging.
Right now we have TARGET_SO_FIND_AND_OPEN_SOLIB as a way for the
target specific code to add another way to find libraries, but we
don't have any way for any component to subtract ways, which is what I
need here.
As for the tree root or tree shape being in the architecture vector,
I'm not sure that works. The issue isn't the target architecture
itself, but rather that the target and the host are different. I
didn't think that the architecture vector expresses that. (Possibly
my confusion -- I'm still learning gdb internals...)
Ok, I hear some encouraging notions and some helpful suggestions --
I'll see about concocting a proposal.
paul
next prev parent reply other threads:[~2005-08-03 19:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-03 13:38 Paul Koning
2005-08-03 17:06 ` Daniel Jacobowitz
2005-08-03 18:14 ` Kris Warkentin
2005-08-03 19:15 ` Mark Kettenis
2005-08-03 19:19 ` Daniel Jacobowitz
2005-08-03 19:29 ` Paul Koning [this message]
2005-08-03 20:00 ` Kris Warkentin
2005-08-03 20:16 ` Paul Koning
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=17137.6901.979049.779@gargle.gargle.HOWL \
--to=pkoning@equallogic.com \
--cc=drow@false.org \
--cc=gdb@sources.redhat.com \
--cc=mark.kettenis@xs4all.nl \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).