diff options
author | Nick Clifton <nickc@redhat.com> | 2003-11-11 17:58:28 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-11-11 17:58:28 +0000 |
commit | d9407aaa549c6270b7d99443835d287bce6b50a7 (patch) | |
tree | 14eb810c6474f64fdeff02837ff1e43f248f4a7b | |
parent | 5fe11841a8220a0aab42940d4ec675ff5caed4d2 (diff) | |
download | gdb-d9407aaa549c6270b7d99443835d287bce6b50a7.zip gdb-d9407aaa549c6270b7d99443835d287bce6b50a7.tar.gz gdb-d9407aaa549c6270b7d99443835d287bce6b50a7.tar.bz2 |
Do not run for targets which do not support shared objects.
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/shreloc.exp | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 834647c..39b57b8 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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. diff --git a/gdb/testsuite/gdb.base/shreloc.exp b/gdb/testsuite/gdb.base/shreloc.exp index ac48774..55ec1e7 100644 --- a/gdb/testsuite/gdb.base/shreloc.exp +++ b/gdb/testsuite/gdb.base/shreloc.exp @@ -23,6 +23,11 @@ # 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 } |