OSDN Git Service

2006-06-26 Dave Brolley <brolley@redhat.com>
authorbrolley <brolley>
Mon, 26 Jun 2006 21:09:07 +0000 (21:09 +0000)
committerbrolley <brolley>
Mon, 26 Jun 2006 21:09:07 +0000 (21:09 +0000)
        * m32rbf.h (get_pc): New member of m32rbf_cpu.

sid/component/cgen-cpu/m32r/ChangeLog
sid/component/cgen-cpu/m32r/m32rbf.h

index efd3bf7..869b826 100644 (file)
@@ -1,3 +1,7 @@
+2006-06-26  Dave Brolley  <brolley@redhat.com>
+
+       * m32rbf.h (get_pc): New member of m32rbf_cpu.
+
 2005-06-03  Jim Blandy  <jimb@redhat.com>
 
        * Makefile.in, aclocal.m4: Regenerated with Automake 1.9.5.
index 25eaad2..3dec328 100644 (file)
@@ -56,6 +56,12 @@ public:
       this->hardware.h_pc = (PCADDR) v; 
     }
 
+  host_int_4
+  get_pc ()
+    {
+      return this->hardware.h_pc;
+    }
+
   // Called by semantic code to perform branches.
   inline void
   branch (PCADDR new_pc, PCADDR& npc, sem_status& status)