[arm] Update displaced stepping debug message
authorYao Qi <yao.qi@linaro.org>
Wed, 15 Apr 2015 14:09:53 +0000 (15:09 +0100)
committerYao Qi <yao.qi@linaro.org>
Wed, 15 Apr 2015 14:28:17 +0000 (15:28 +0100)
When I "set debug displaced 1" to fix fail in
gdb.base/disp-step-syscall.exp, the debug message is wrong.  This
patch is to fix it.

gdb:

2015-04-15  Yao Qi  <yao.qi@linaro.org>

* arm-linux-tdep.c (arm_linux_copy_svc): Update debug message.

gdb/ChangeLog
gdb/arm-linux-tdep.c

index 68eca21ff693d53dade96777ecde6860b7cc7379..a4befb4506370565ddfbf131e33cfcb2a8c9b80a 100644 (file)
@@ -1,3 +1,7 @@
+2015-04-15  Yao Qi  <yao.qi@linaro.org>
+
+       * arm-linux-tdep.c (arm_linux_copy_svc): Update debug message.
+
 2015-04-15  Yao Qi  <yao.qi@linaro.org>
 
        * arm-linux-tdep.c (arm_linux_copy_svc): Fix indentation.
index 16e8f449e056dc6cae634d0c62dcd8a2b0cf6369..b6757bd128373d1c85be23040353542e6437d50f 100644 (file)
@@ -1022,8 +1022,7 @@ arm_linux_copy_svc (struct gdbarch *gdbarch, struct regcache *regs,
                            "sigreturn/rt_sigreturn\n");
     }
   else if (debug_displaced)
-    fprintf_unfiltered (gdb_stdlog, "displaced: sigreturn/rt_sigreturn "
-                       "SVC call not in signal trampoline frame\n");
+    fprintf_unfiltered (gdb_stdlog, "displaced: found SVC call\n");
 
   /* Preparation: If we detect sigreturn, set momentary breakpoint at resume
                  location, else nothing.
This page took 0.028313 seconds and 4 git commands to generate.