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 | adeec9208198e500116546daef266b55683c3781 (patch) | |
tree | cefb64eccace2367676217d210613a4b708d7ba7 | |
parent | 0a855bc6ac5bbfaf38e1a6590caa4725b2fc8f76 (diff) | |
download | gdb-carlton-dictionary-20031111-merge.tar.gz |
Do not run for targets which do not support shared objects.carlton-dictionary-20031111-merge
-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 834647cf074..39b57b8d8ac 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 ac48774676f..55ec1e776bb 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 } |