public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Why does solib_open do what it does?
@ 2003-06-17 19:01 Kris Warkentin
  2003-06-17 19:13 ` Daniel Jacobowitz
  0 siblings, 1 reply; 31+ messages in thread
From: Kris Warkentin @ 2003-06-17 19:01 UTC (permalink / raw)
  To: Gdb@Sources.Redhat.Com

I'm looking at solib.c:solib_open() and as I go down the list:

   Search order:
1   * If path is absolute, look in SOLIB_ABSOLUTE_PREFIX.
2   * If path is absolute or relative, look for it literally (unmodified).
3   * Look in SOLIB_SEARCH_PATH.
4   * If available, use target defined search function.
5   * Look in inferior's $PATH.
6   * Look in inferior's $LD_LIBRARY_PATH.

I'm puzzled.  Why are we testing for the existence of solib_search_path
before checking 5 and 6?

cheers,

Kris


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

end of thread, other threads:[~2003-06-20 12:43 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-17 19:01 Why does solib_open do what it does? Kris Warkentin
2003-06-17 19:13 ` Daniel Jacobowitz
2003-06-17 19:14   ` Kris Warkentin
2003-06-17 19:37     ` Elena Zannoni
2003-06-17 19:47       ` Kris Warkentin
2003-06-17 20:01     ` Kevin Buettner
2003-06-17 20:15       ` Kris Warkentin
2003-06-17 20:24         ` Kevin Buettner
2003-06-18  0:14           ` Michael Snyder
2003-06-18  1:43             ` Kris Warkentin
2003-06-18  5:33               ` Kevin Buettner
2003-06-18 12:11                 ` Kris Warkentin
2003-06-18 15:07                   ` Kris Warkentin
2003-06-18 18:52                     ` Michael Snyder
2003-06-18 19:09                       ` Kris Warkentin
2003-06-18 19:20                         ` Andrew Cagney
2003-06-18 20:10                         ` Michael Snyder
2003-06-18 20:17                           ` Kris Warkentin
2003-06-18 19:14                       ` Daniel Jacobowitz
2003-06-18 18:45                   ` Michael Snyder
2003-06-18 18:41                 ` Michael Snyder
2003-06-18 19:16                   ` Daniel Jacobowitz
2003-06-18 20:11                     ` Michael Snyder
2003-06-18 20:19                       ` Kris Warkentin
2003-06-18 20:27                       ` Daniel Jacobowitz
2003-06-18 20:51                         ` Michael Snyder
2003-06-19 12:24                           ` Kris Warkentin
2003-06-19 23:33                             ` Kevin Buettner
2003-06-20  0:02                               ` Kevin Buettner
2003-06-20 12:28                                 ` Kris Warkentin
2003-06-20 12:43                                   ` Kevin Buettner

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).