OSDN Git Service

Do not run for targets which do not support shared objects.
authornickc <nickc>
Tue, 11 Nov 2003 17:58:27 +0000 (17:58 +0000)
committernickc <nickc>
Tue, 11 Nov 2003 17:58:27 +0000 (17:58 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/shreloc.exp

index 834647c..39b57b8 100644 (file)
@@ -1,3 +1,8 @@
+2003-11-11  Nick Clifton  <nickc@redhat.com>
+
+       * gdb.base/shreloc.exp: Do not run for targets which do not
+       support shared objects.
+
 2003-11-10  Corinna Vinschen  <vinschen@redhat.com>
 
        * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
index ac48774..55ec1e7 100644 (file)
 # them gets relocated at load-time. Check that gdb gets the right
 # values for the debugging and minimal symbols.
 
+if {[istarget *-elf*] || [istarget *-coff] || [istarget *-aout]} then {
+    verbose "test skipped - shared object files not supported by this target."
+    return 0
+}
+
 if $tracelevel then {
     strace $tracelevel
 }