From: Yao Qi Date: Fri, 2 Mar 2012 00:18:51 +0000 (+0000) Subject: gdb/gdbserver: X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8d00225bba7cbbf3330b0cd7876b710b546d67a4;p=binutils-gdb.git gdb/gdbserver: * tracepoint.c (do_action_at_tracepoint): Write `stop_pc' in debug log. --- diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 5883c2ea5ad..2b9558b3e42 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2012-03-02 Yao Qi + + * tracepoint.c (do_action_at_tracepoint): Write `stop_pc' in + debug log. + 2012-03-02 Yao Qi * tracepoint.c (collect_ust_data_at_tracepoint): Remove parameters diff --git a/gdb/gdbserver/tracepoint.c b/gdb/gdbserver/tracepoint.c index baa9d94d7fe..7167876775c 100644 --- a/gdb/gdbserver/tracepoint.c +++ b/gdb/gdbserver/tracepoint.c @@ -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. */