From: Yao Qi Date: Wed, 15 Apr 2015 14:09:53 +0000 (+0100) Subject: [arm] Update displaced stepping debug message X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6bbbba9ba5bcde0b2f4613e1bec3226cf567dcf9;p=binutils-gdb.git [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. --- 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.