diff options
author | Tom de Vries <tdevries@suse.de> | 2020-12-04 13:36:48 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2020-12-04 13:36:48 +0100 |
commit | 67748e0f666f0645d7f182e1365f4d9859e55f1d (patch) | |
tree | 668feae87503d1e6a467a25fceaca2ad78bfc120 /gdb/aarch64-tdep.c | |
parent | b6a6aa07c5bd53d19c33db1f7c9645fc99b66e1b (diff) | |
download | binutils-67748e0f666f0645d7f182e1365f4d9859e55f1d.zip binutils-67748e0f666f0645d7f182e1365f4d9859e55f1d.tar.gz binutils-67748e0f666f0645d7f182e1365f4d9859e55f1d.tar.bz2 |
[gdb/testsuite] Make gdb.arch/amd64-gs_base.exp unsupported for i386
With target board unix/-m32 I run into:
...
(gdb) print /x $fs_base^M
$1 = void^M
(gdb) FAIL: gdb.arch/amd64-gs_base.exp: print fs_base
...
The problem is that the fs_base register is not supported for i386.
Fix this by making the test unsupported if fs_base/gs_base don't show up in
info register sys output.
Tested on x86_64-linux.
gdb/testsuite/ChangeLog:
2020-12-04 Tom de Vries <tdevries@suse.de>
PR testsuite/26990
* gdb.arch/amd64-gs_base.exp: Handle -m32 where fs_base and gs_base
are unsupported.
Diffstat (limited to 'gdb/aarch64-tdep.c')
0 files changed, 0 insertions, 0 deletions