From 16d53561b2495a78fd9d73479badc22d543e4123 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Fri, 3 Jun 2005 14:44:01 +0000 Subject: 2005-05-12 Michael Snyder * tracepoint.c (emit_checkpoint_method4): Add PC to ckpt record. --- gdb/ChangeLog | 1 + gdb/tracepoint.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0380c53..922b105 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,6 @@ 2005-05-12 Michael Snyder + * 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 6039e36..b1be03f 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; -- cgit v1.1