aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-03-02 00:18:51 +0000
committerYao Qi <yao@codesourcery.com>2012-03-02 00:18:51 +0000
commit8d00225bba7cbbf3330b0cd7876b710b546d67a4 (patch)
tree6e9213bc351525aaf52c0a3e652948baae3b59fb /gdb
parent19560ba53e570d216dceffbd60172ecba672c752 (diff)
downloadgdb-8d00225bba7cbbf3330b0cd7876b710b546d67a4.zip
gdb-8d00225bba7cbbf3330b0cd7876b710b546d67a4.tar.gz
gdb-8d00225bba7cbbf3330b0cd7876b710b546d67a4.tar.bz2
gdb/gdbserver:
* tracepoint.c (do_action_at_tracepoint): Write `stop_pc' in debug log.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/gdbserver/ChangeLog5
-rw-r--r--gdb/gdbserver/tracepoint.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 5883c2e..2b9558b 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 baa9d94..7167876 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. */