From d9407aaa549c6270b7d99443835d287bce6b50a7 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 11 Nov 2003 17:58:28 +0000 Subject: [PATCH] Do not run for targets which do not support shared objects. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/shreloc.exp | 5 +++++ 2 files changed, 10 insertions(+) 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 + + * gdb.base/shreloc.exp: Do not run for targets which do not + support shared objects. + 2003-11-10 Corinna Vinschen * 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 } -- 2.34.1