Do not run for targets which do not support shared objects.
authorNick Clifton <nickc@redhat.com>
Tue, 11 Nov 2003 17:58:28 +0000 (17:58 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 11 Nov 2003 17:58:28 +0000 (17:58 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/shreloc.exp

index 834647cf07452b61605d0222266758da720c1051..39b57b8d8acca0ff02db47476f76abca39462926 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 ac48774676fddf603b7b2949e35ed75ede86402e..55ec1e776bbbebb69fa862b9773891faa9b6b2d8 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
 }