mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 04:00:07 +08:00
[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.
This commit is contained in:
@ -8529,17 +8529,6 @@ gdb_caching_proc supports_gnuc {
|
|||||||
return [gdb_simple_compile $me $src object ""]
|
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.
|
# Return 1 if target supports mpx, otherwise return 0.
|
||||||
gdb_caching_proc have_mpx {
|
gdb_caching_proc have_mpx {
|
||||||
global srcdir
|
global srcdir
|
||||||
|
Reference in New Issue
Block a user