From: Daniel Jacobowitz <drow@false.org>
To: Mark Kettenis <mark.kettenis@xs4all.nl>
Cc: pkoning@equallogic.com, gdb@sources.redhat.com
Subject: Re: solib search algorithm for cross-gdb
Date: Wed, 03 Aug 2005 19:19:00 -0000 [thread overview]
Message-ID: <20050803191936.GA16880@nevyn.them.org> (raw)
In-Reply-To: <200508031915.j73JF4Oc008117@elgar.sibelius.xs4all.nl>
On Wed, Aug 03, 2005 at 09:15:04PM +0200, Mark Kettenis wrote:
> Indeed. What's important to really that even a native gdb can be used
> for cross-debugging. Therefore, it's probably a better idea to
> determine "nativeness" at run time, by comparing the architecture and
> OS/ABI to the system gdb is running on.
I don't see how that helps? Nativeness is not the most important
factor here. In fact, it's not even particularly important; a MIPS64
GDB doesn't have to care which ABI it was compiled for or which
architecture the debuggee was compiled for (well, except for
thread_db).
> (child, remote, core) and nativeness. Obviously for native child and
> core the root would be /. For remote we should probably default to
> whatever was specified using --with-sysroot when gdb was configured.
No, --with-sysroot should be honored no matter what the target is. It
should definitely be honored for core. It should be honored for
native, too - you can be debugging in a chroot relative to GDB.
> I don't know if that's worth implementing. I'm inclined to say that
> your suggestion is progress, at least.
>
> Hmm. I get the feeling we have been tweaking things too much already
> in the past. I'd really prefer someone making a well though-out
> design and implementing things properly.
Since no one has ever come up with such a design, I'm keeping my hopes
in check...
--
Daniel Jacobowitz
CodeSourcery, LLC
next prev parent reply other threads:[~2005-08-03 19:19 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 [this message]
2005-08-03 19:29 ` Paul Koning
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=20050803191936.GA16880@nevyn.them.org \
--to=drow@false.org \
--cc=gdb@sources.redhat.com \
--cc=mark.kettenis@xs4all.nl \
--cc=pkoning@equallogic.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