diff options
author | Michael Snyder <msnyder@specifix.com> | 2005-06-03 14:44:01 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@specifix.com> | 2005-06-03 14:44:01 +0000 |
commit | e715efb4c03ff9d7a1bdc36165c9e4dbeb06b6f5 (patch) | |
tree | b33204d12bec7fac994483d0fad0f066e7bd3bcb | |
parent | 7750a5fb55ef5bcbe430172600e715342ce99035 (diff) | |
download | gdb-e715efb4c03ff9d7a1bdc36165c9e4dbeb06b6f5.tar.gz |
2005-05-12 Michael Snyder <msnyder@redhat.com>
* tracepoint.c (emit_checkpoint_method4): Add PC to ckpt record.
-rw-r--r-- | gdb/ChangeLog | 1 | ||||
-rw-r--r-- | gdb/tracepoint.c | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0380c536e7f..922b105b7bf 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,6 @@ 2005-05-12 Michael Snyder <msnyder@redhat.com> + * tracepoint.c (emit_checkpoint_method4): Add PC to ckpt record. * target.c (target_read_memory_trusted): New function. Implements 'trust-readonly-section'. (target_read_partial): Honor trust-readonly-section. diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index 6039e367cae..b1be03f9699 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -2951,6 +2951,9 @@ emit_checkpoint_method4 (struct tracepoint *t) } checkpoint_emit_sequential_id (checkpoint_file); + fputs ("PC=", checkpoint_file); + fputs (paddr (read_pc ()), checkpoint_file); + fputc ('\n', checkpoint_file); for (i = 0; tdp_actions[i]; i++) { CORE_ADDR offset, base; |