diff options
author | Tom de Vries <tdevries@suse.de> | 2023-02-21 15:06:50 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2023-02-21 15:06:50 +0100 |
commit | 2ef339e38f51906a394105fe545058fec1f9bc4a (patch) | |
tree | aed4a3cbc2573ad1ee0da2a09775cd6d21eedd4a /gdb/testsuite/gdb.reverse | |
parent | 491b4c189a4135edf2a4e580a0433af12a71fba5 (diff) | |
download | gdb-2ef339e38f51906a394105fe545058fec1f9bc4a.zip gdb-2ef339e38f51906a394105fe545058fec1f9bc4a.tar.gz gdb-2ef339e38f51906a394105fe545058fec1f9bc4a.tar.bz2 |
[gdb/testsuite] Require istarget x86* in gdb.reverse/step-indirect-call-thunk.exp
On aarch64-linux, I run into:
...
Running gdb.reverse/step-indirect-call-thunk.exp ...
gdb compile failed, gcc: error: unrecognized command line option \
'-mindirect-branch=thunk'; did you mean '-findirect-inlining'?
gcc: error: unrecognized command line option '-mfunction-return=thunk'; \
did you mean '-Wfunction-elimination'?
UNTESTED: gdb.reverse/step-indirect-call-thunk.exp: failed to prepare
...
Fix this by requiring istarget "x86*", similar to what was added in
gdb.base/step-indirect-call-thunk.exp by commit 43127ae5714 ("Fix
gdb.base/step-indirect-call-thunk.exp"), such that we have instead:
...
UNSUPPORTED: gdb.reverse/step-indirect-call-thunk.exp: require failed: \
istarget "x86*
...
Tested on x86_64-linux and aarch64-linux.
Diffstat (limited to 'gdb/testsuite/gdb.reverse')
-rw-r--r-- | gdb/testsuite/gdb.reverse/step-indirect-call-thunk.exp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.reverse/step-indirect-call-thunk.exp b/gdb/testsuite/gdb.reverse/step-indirect-call-thunk.exp index 94292d5..f433efb 100644 --- a/gdb/testsuite/gdb.reverse/step-indirect-call-thunk.exp +++ b/gdb/testsuite/gdb.reverse/step-indirect-call-thunk.exp @@ -15,6 +15,8 @@ require supports_reverse +require {istarget "x86*"} + standard_testfile set cflags {} |