This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] [arm] Update displaced stepping debug message


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6bbbba9ba5bcde0b2f4613e1bec3226cf567dcf9

commit 6bbbba9ba5bcde0b2f4613e1bec3226cf567dcf9
Author: Yao Qi <yao.qi@linaro.org>
Date:   Wed Apr 15 15:09:53 2015 +0100

    [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.

Diff:
---
 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 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]