diff options
author | Yao Qi <yao.qi@linaro.org> | 2015-04-15 15:09:53 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2015-04-15 15:28:17 +0100 |
commit | 6bbbba9ba5bcde0b2f4613e1bec3226cf567dcf9 (patch) | |
tree | 88dfb895c22bc5f990639b01192f42729edfbb9b | |
parent | 2bb2dcab455295cc23dec46f0150b15892ab4933 (diff) | |
download | gdb-6bbbba9ba5bcde0b2f4613e1bec3226cf567dcf9.zip gdb-6bbbba9ba5bcde0b2f4613e1bec3226cf567dcf9.tar.gz gdb-6bbbba9ba5bcde0b2f4613e1bec3226cf567dcf9.tar.bz2 |
[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 <yao.qi@linaro.org>
* arm-linux-tdep.c (arm_linux_copy_svc): Update debug message.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/arm-linux-tdep.c | 3 |
2 files changed, 5 insertions, 2 deletions
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 <yao.qi@linaro.org> + * arm-linux-tdep.c (arm_linux_copy_svc): Update debug message. + +2015-04-15 Yao Qi <yao.qi@linaro.org> + * arm-linux-tdep.c (arm_linux_copy_svc): Fix indentation. 2015-04-15 Yao Qi <yao.qi@linaro.org> 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. |