Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* GDB honouring RPATH in binaries.
@ 2003-02-20 19:15 Kris Warkentin
  2003-02-20 19:33 ` Kevin Buettner
  2003-02-20 19:48 ` Kevin Buettner
  0 siblings, 2 replies; 34+ messages in thread
From: Kris Warkentin @ 2003-02-20 19:15 UTC (permalink / raw)
  To: gdb

I've been having a debate with some coworkers about whether or not gdb
should use the rpath in an elf binary to find shared libs if it has been
set.  The runtime loader checks LD_LIBRARY_PATH, RPATH and CS_LIBPATH in
that order and the proposal was that gdb should do the same thing.

The problem I have with this is in the remote case.  This might make perfect
sense on a self-hosted debugger but if targetting a remote machine, the
RPATH might not make any logical mapping onto the host machine's filesystem.
It might be possible to come up with some sort of heuristic using
solib-absolute-prefix as a base but I don't think there's any reliable way
to make use of this info if not self hosted.

Any thoughts?

Kris


^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2003-02-21 21:04 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-20 19:15 GDB honouring RPATH in binaries Kris Warkentin
2003-02-20 19:33 ` Kevin Buettner
2003-02-20 19:41   ` Kris Warkentin
2003-02-20 19:55     ` Kevin Buettner
2003-02-20 19:59       ` Kris Warkentin
2003-02-20 20:03         ` Daniel Jacobowitz
2003-02-20 19:41   ` Daniel Jacobowitz
2003-02-20 19:44     ` Kris Warkentin
2003-02-20 19:48       ` Daniel Jacobowitz
2003-02-20 19:54         ` Kris Warkentin
2003-02-20 19:58           ` Kevin Buettner
2003-02-20 20:00             ` Kevin Buettner
2003-02-20 20:01               ` Kris Warkentin
2003-02-20 20:05                 ` Daniel Jacobowitz
2003-02-20 20:12                   ` Kris Warkentin
2003-02-20 20:04             ` Paul Koning
2003-02-20 20:10               ` Daniel Jacobowitz
2003-02-21 15:32                 ` Kris Warkentin
2003-02-21 18:28                   ` [Proposal] " Kris Warkentin
2003-02-21 18:30                   ` Kris Warkentin
2003-02-21 18:32                     ` Kris Warkentin
2003-02-21 19:14                     ` Kris Warkentin
2003-02-21 19:18                       ` Colin Burgess
2003-02-21 19:42                     ` Kevin Buettner
2003-02-21 19:46                       ` Colin Burgess
2003-02-21 19:55                       ` Kris Warkentin
2003-02-21 20:27                         ` Kris Warkentin
2003-02-21 21:02                           ` Kevin Buettner
2003-02-21 21:04                             ` Kris Warkentin
2003-02-20 20:18               ` Kevin Buettner
2003-02-20 20:00           ` Daniel Jacobowitz
2003-02-20 19:50     ` Kevin Buettner
2003-02-20 19:48 ` Kevin Buettner
2003-02-20 19:52   ` Kris Warkentin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox