This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[obv] [arm] Update displaced stepping debug message
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 15 Apr 2015 15:25:47 +0100
- Subject: [obv] [arm] Update displaced stepping debug message
- Authentication-results: sourceware.org; auth=none
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.
gdb:
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 --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,
"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.
--
1.9.1