From 6bbbba9ba5bcde0b2f4613e1bec3226cf567dcf9 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Wed, 15 Apr 2015 15:09:53 +0100 Subject: [arm] Update displaced stepping debug message 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 * arm-linux-tdep.c (arm_linux_copy_svc): Update debug message. --- gdb/ChangeLog | 4 ++++ gdb/arm-linux-tdep.c | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'gdb') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 68eca21..a4befb4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2015-04-15 Yao Qi + * arm-linux-tdep.c (arm_linux_copy_svc): Update debug message. + +2015-04-15 Yao Qi + * arm-linux-tdep.c (arm_linux_copy_svc): Fix indentation. 2015-04-15 Yao Qi 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. -- cgit v1.1