gdb: move displaced stepping logic to gdbarch, allow starting concurrent displaced...
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.arch / amd64-disp-step-avx.exp
index f652fd834e649db12515c9ad9fc6294110710ec9..4888bf408cc44f1017fa3317bb00e1977a7ca3dc 100644 (file)
@@ -1,4 +1,4 @@
-# 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
@@ -92,10 +92,16 @@ proc disp_step_func { func } {
     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
 }
 
This page took 0.025772 seconds and 4 git commands to generate.