]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2005-05-12 Michael Snyder <msnyder@redhat.com>
authorMichael Snyder <msnyder@vmware.com>
Fri, 3 Jun 2005 14:44:01 +0000 (14:44 +0000)
committerMichael Snyder <msnyder@vmware.com>
Fri, 3 Jun 2005 14:44:01 +0000 (14:44 +0000)
* tracepoint.c (emit_checkpoint_method4): Add PC to ckpt record.

gdb/ChangeLog
gdb/tracepoint.c

index 0380c536e7f59ca67455e578ae51b7df9367e32d..922b105b7bfe0c5c96b7e730f6b395292c527f45 100644 (file)
@@ -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.
index 6039e367cae9c26b2068fcf611a4c22b7e9cae30..b1be03f96993aa59e4a81dd92737110dff7750b8 100644 (file)
@@ -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;