From 6bbbba9ba5bcde0b2f4613e1bec3226cf567dcf9 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Wed, 15 Apr 2015 15:09:53 +0100 Subject: [PATCH] [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(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 68eca21ff69..a4befb45063 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +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. diff --git a/gdb/arm-linux-tdep.c b/gdb/arm-linux-tdep.c index 16e8f449e05..b6757bd1283 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. -- 2.30.2