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 /gdb/testsuite/gdb.base/shreloc.exp | |
parent | 5fe11841a8220a0aab42940d4ec675ff5caed4d2 (diff) | |
download | binutils-gdb-d9407aaa549c6270b7d99443835d287bce6b50a7.tar.gz |
Do not run for targets which do not support shared objects.
Diffstat (limited to 'gdb/testsuite/gdb.base/shreloc.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/shreloc.exp | 5 |
1 files changed, 5 insertions, 0 deletions
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 } |