-# Copyright 2009-2019 Free Software Foundation, Inc.
+# Copyright 2009-2020 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
set value "0xdeadbeefd3adb33f"
set_regs $value
+ # 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.*Breakpoint.*, ${test_end_label} ().*" \
+ "Continuing.*displaced: prepared successfully.*Breakpoint.*, ${test_end_label} ().*" \
"continue to ${test_end_label}"
+ gdb_test_no_output "set debug displaced off"
+
verify_regs $value
}