gdb/gdbserver:
authorYao Qi <yao@codesourcery.com>
Fri, 2 Mar 2012 00:18:51 +0000 (00:18 +0000)
committerYao Qi <yao@codesourcery.com>
Fri, 2 Mar 2012 00:18:51 +0000 (00:18 +0000)
* tracepoint.c (do_action_at_tracepoint): Write `stop_pc' in
debug log.

gdb/gdbserver/ChangeLog
gdb/gdbserver/tracepoint.c

index 5883c2ea5ad2b5c4cc51cf2a2fdab372f4c444cc..2b9558b3e427c57ff6dbe713f6c2eba4454d533e 100644 (file)
@@ -1,3 +1,8 @@
+2012-03-02  Yao Qi  <yao@codesourcery.com>
+
+       * tracepoint.c (do_action_at_tracepoint): Write `stop_pc' in
+       debug log.
+
 2012-03-02  Yao Qi  <yao@codesourcery.com>
 
        * tracepoint.c (collect_ust_data_at_tracepoint): Remove parameters
index baa9d94d7fe38877b1ac4489f9c68f1607e2c4ba..7167876775c7015da4d1ecc2d4eb28c9da45e0ed 100644 (file)
@@ -4473,7 +4473,7 @@ do_action_at_tracepoint (struct tracepoint_hit_ctx *ctx,
           preemptively), since the PC had already been adjusted to
           contain the tracepoint's address by the jump pad.  */
        trace_debug ("Storing stop pc (0x%s) in regblock",
-                    paddress (tpoint->address));
+                    paddress (stop_pc));
 
        /* This changes the regblock, not the thread's
           regcache.  */