diff mbox

[obv,arm] Update displaced stepping debug message

Message ID 1429107947-12262-1-git-send-email-qiyaoltc@gmail.com
State New
Headers show

Commit Message

Yao Qi April 15, 2015, 2:25 p.m. UTC
From: Yao Qi <yao.qi@linaro.org>

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.  I'll commit it.


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

	* arm-linux-tdep.c (arm_linux_copy_svc): Update debug message.
 gdb/arm-linux-tdep.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox


diff --git a/gdb/arm-linux-tdep.c b/gdb/arm-linux-tdep.c
index 16e8f44..b6757bd 100644
--- a/gdb/arm-linux-tdep.c
+++ b/gdb/arm-linux-tdep.c
@@ -1022,8 +1022,7 @@  arm_linux_copy_svc (struct gdbarch *gdbarch, struct regcache *regs,
   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.