OSDN Git Service

* rs6000-tdep.c (ppc_displaced_step_fixup): Change type of
authorKevin Buettner <kevinb@redhat.com>
Thu, 10 Jul 2008 19:40:43 +0000 (19:40 +0000)
committerKevin Buettner <kevinb@redhat.com>
Thu, 10 Jul 2008 19:40:43 +0000 (19:40 +0000)
`current_pc' from CORE_ADDR to ULONGEST.

gdb/ChangeLog
gdb/rs6000-tdep.c

index 064bbe1..df1bb7f 100644 (file)
@@ -1,5 +1,8 @@
 2008-07-10  Kevin Buettner  <kevinb@redhat.com>
 
+       * rs6000-tdep.c (ppc_displaced_step_fixup): Change type of
+       `current_pc' from CORE_ADDR to ULONGEST.
+
        * remote-sim.c (gdbsim_cntrl_c): Pass remote_sim_ptid to
        gdbsim_stop().
 
index 7e2ce49..20a6cb5 100644 (file)
@@ -876,7 +876,7 @@ ppc_displaced_step_fixup (struct gdbarch *gdbarch,
   /* Handle PC-relative branch instructions.  */
   if (opcode == B_INSN || opcode == BC_INSN || opcode == BXL_INSN)
     {
-      CORE_ADDR current_pc;
+      ULONGEST current_pc;
 
       /* Read the current PC value after the instruction has been executed
         in a displaced location.  Calculate the offset to be applied to the