aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2022-07-18 12:48:39 +0200
committerTom de Vries <tdevries@suse.de>2022-07-18 12:48:39 +0200
commit9a14143c59f9aa7c68a032cd53f0106d5a31a040 (patch)
tree786c9c28e174ab2d0c8450dcadcacbbebc8bd5b6
parent602d2b520dc5917c2353987032c881f79b34d634 (diff)
downloadgdb-9a14143c59f9aa7c68a032cd53f0106d5a31a040.zip
gdb-9a14143c59f9aa7c68a032cd53f0106d5a31a040.tar.gz
gdb-9a14143c59f9aa7c68a032cd53f0106d5a31a040.tar.bz2
[gdb/testsuite] Remove duplicate of supports_gnuc
In commit 9d9dd861e98 ("[gdb/testsuite] Fix regression in step-indirect-call-thunk.exp with gcc 7") I accidentally committed a duplicate of supports_gnuc, which caused: ... DUPLICATE: gdb.base/gdb-caching-proc.exp: supports_gnuc: consistency ... Fix this by removing the duplicate. Tested on x86_64-linux.
-rw-r--r--gdb/testsuite/lib/gdb.exp11
1 files changed, 0 insertions, 11 deletions
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index ef68c3c..a8f25b5 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -8529,17 +8529,6 @@ gdb_caching_proc supports_gnuc {
return [gdb_simple_compile $me $src object ""]
}
-# Return 1 if compiler supports __GNUC__, otherwise return 0.
-gdb_caching_proc supports_gnuc {
- set me "supports_gnuc"
- set src {
- #ifndef __GNUC__
- #error "No gnuc"
- #endif
- }
- return [gdb_simple_compile $me $src object ""]
-}
-
# Return 1 if target supports mpx, otherwise return 0.
gdb_caching_proc have_mpx {
global srcdir