diff options
author | qiyao <qiyao> | 2012-03-02 00:18:51 +0000 |
---|---|---|
committer | qiyao <qiyao> | 2012-03-02 00:18:51 +0000 |
commit | 840992be7ccc30581e08a089dbeeb50229a12e27 (patch) | |
tree | 0c1845f962c9a3f32744d6fd0534e8eaafcf083d /gdb | |
parent | d3d95f524829ff0036e9181a15e37ced73de0f7d (diff) | |
download | gdb-840992be7ccc30581e08a089dbeeb50229a12e27.tar.gz |
gdb/gdbserver:
* tracepoint.c (do_action_at_tracepoint): Write `stop_pc' in
debug log.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbserver/tracepoint.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 5883c2ea5ad..2b9558b3e42 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,5 +1,10 @@ 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 `stop_pc' and `tpoint'. Update caller. 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. */ |