diff options
author | Tom de Vries <tdevries@suse.de> | 2022-06-27 12:47:26 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2022-06-27 12:47:26 +0200 |
commit | 772f8196d621a8009035ff4cb8aab2d7343269a9 (patch) | |
tree | 9aa7fcbec0749b8c23fc76a328de9c1a5ea145d3 /binutils/dwarf.c | |
parent | 7d476bd55574de0a781ee724542a5ec5d8c07915 (diff) | |
download | gdb-772f8196d621a8009035ff4cb8aab2d7343269a9.zip gdb-772f8196d621a8009035ff4cb8aab2d7343269a9.tar.gz gdb-772f8196d621a8009035ff4cb8aab2d7343269a9.tar.bz2 |
[gdb/testsuite] Fix gdb.reverse/i387-env-reverse.exp for -pie
When running test-case gdb.reverse/i387-env-reverse.exp for x86_64-linux with
target board unix/-m32/-fPIE/-pie, we run into:
...
(gdb) PASS: gdb.reverse/i387-env-reverse.exp: push st0
info register eax^M
eax 0x56550000 1448411136^M
(gdb) FAIL: gdb.reverse/i387-env-reverse.exp: verify eax == 0x8040000
...
The problem is that the tested instruction (fstsw) only sets $ax, not $eax.
Fix this by verifying $ax instead of $eax.
Tested on x86_64-linux with target boards unix/-m32 and unix/-m32/-fPIE/-pie.
Diffstat (limited to 'binutils/dwarf.c')
0 files changed, 0 insertions, 0 deletions