This is the mail archive of the gdb-testers@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]

[binutils-gdb] info-shared.exp: Replace libs=-ldl with shlib_load


*** TEST RESULTS FOR COMMIT 0a8ddac418d3e8e12a1bb51c3b0da90155f83403 ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 0a8ddac418d3e8e12a1bb51c3b0da90155f83403

info-shared.exp: Replace libs=-ldl with shlib_load

As reported in PR 23104, -ldl doesn't work on FreeBSD.  Replace it with
shlib_load, which adds the right flags for dynamic library loading based
on the current target platform.

The test still passes on Linux, and should now pass on FreeBSD, though I
did not test personally.

gdb/testsuite/ChangeLog:

	PR gdb/23104
	* gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.


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