This is the mail archive of the gdb-patches@sources.redhat.com 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]

[PATCH] Fix unload.exp on Solaris


Tested on sparc-sun-solaris2.9.

Committed as obvious,

Mark


Index: testsuite/ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/ChangeLog,v
retrieving revision 1.1025
diff -u -p -r1.1025 ChangeLog
--- testsuite/ChangeLog	5 Sep 2004 04:46:24 -0000	1.1025
+++ testsuite/ChangeLog	6 Sep 2004 11:07:14 -0000
@@ -1,3 +1,7 @@
+2004-09-06  Mark Kettenis  <kettenis@jive.nl>
+
+	* gdb.base/unload.exp: Link with -dl on *-*-solaris*.
+
 2004-09-05  Michael Chastain  <mec.gnu@mindspring.com>
 
 	* config/hppro.exp: Removed.
Index: testsuite/gdb.base/unload.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/unload.exp,v
retrieving revision 1.3
diff -u -p -r1.3 unload.exp
--- testsuite/gdb.base/unload.exp	1 Sep 2004 23:26:43 -0000	1.3
+++ testsuite/gdb.base/unload.exp	6 Sep 2004 11:07:14 -0000
@@ -49,6 +49,7 @@ set dl_lib_flag ""
 switch -glob [istarget] {
     "hppa*-hp-hpux*" { }
     "*-*-linux*"     { set dl_lib_flag "libs=-ldl" }
+    "*-*-solaris*"   { set dl_lib_flag "libs=-ldl" }
     default          { }
 }
 


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