aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib/gdb.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/lib/gdb.exp')
-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