diff options
author | Tom de Vries <tdevries@suse.de> | 2025-07-02 08:14:03 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2025-07-02 08:14:03 +0200 |
commit | 8e73fddeb0d1dc2de5c203ecb6bbc5e2f30f01f6 (patch) | |
tree | 0f91d0a17bc7ec17bbad16eba91183d5df9ec12b /gdb/nat | |
parent | aafbb9ac8e6eed838ed355a7c7cd1699bf877190 (diff) | |
download | binutils-master.zip binutils-master.tar.gz binutils-master.tar.bz2 |
With test-case gdb.arch/amd64-disp-step-avx.exp on x86_64-freebsd I run into:
...
(gdb) continue
Continuing.
Breakpoint 3, test_rip_vex2_end () at amd64-disp-step-avx.S:35
35 nop
(gdb) FAIL: $exp: vex2: continue to test_rip_vex2_end
...
This happens while executing this bit of the test-case:
...
# Turn "debug displaced" on to make sure a displaced step is actually
# executed, not an inline step.
gdb_test_no_output "set debug displaced on"
gdb_test "continue" \
"Continuing.*prepared successfully .*Breakpoint.*, ${test_end_label} ().*" \
"continue to ${test_end_label}"
...
The problem is that on x86_64, displaced stepping is only supported for linux.
Consequently, the "prepared successfully" message is missing.
Fix this by requiring linux.
Approved-by: Kevin Buettner <kevinb@redhat.com>
Tested on x86_64-freebsd.
Diffstat (limited to 'gdb/nat')
0 files changed, 0 insertions, 0 deletions