aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2008-07-10 19:40:43 +0000
committerKevin Buettner <kevinb@redhat.com>2008-07-10 19:40:43 +0000
commita4fafde38f06a1fc4255d267728c46c46d11ecdc (patch)
tree5bb148afeeb0edd1610ffd82527dd3a73f794bf5 /gdb
parent0aef6ba222c28ed51ad3c042819bbe1095f00457 (diff)
downloadgdb-a4fafde38f06a1fc4255d267728c46c46d11ecdc.zip
gdb-a4fafde38f06a1fc4255d267728c46c46d11ecdc.tar.gz
gdb-a4fafde38f06a1fc4255d267728c46c46d11ecdc.tar.bz2
* rs6000-tdep.c (ppc_displaced_step_fixup): Change type of
`current_pc' from CORE_ADDR to ULONGEST.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/rs6000-tdep.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 064bbe1..df1bb7f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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().
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index 7e2ce49..20a6cb5 100644
--- a/gdb/rs6000-tdep.c
+++ b/gdb/rs6000-tdep.c
@@ -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