This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Open shared libraries from the current directory


Daniel Jacobowitz wrote:
I would guess that the current behavior is somehow related to the
equivalent ELF behavior; DT_NEEDED foo.so means "search the library path
for foo.so", which does not try $PWD.  DT_NEEDED ./foo.so means "try
./foo.so relative to $PWD" and IIRC does not ever search the library
path.

Whereas in my system the library is found using an ordinary fopen call.


2006-11-01 Andrew Stubbs <andrew.stubbs@st.com>

* solib.c (solib_open): Treat bare file names as relative paths.

:REVIEWMAIL:


OK.

Thanks, committed.


Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]