summaryrefslogtreecommitdiff
path: root/gdb/rs6000-tdep.c
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
commit7f5d7a5b1a576dc09a2b28e5fb8c27ef8827a4e1 (patch)
treea6eb195cf7dd9d86c4dd9a3d625d936c91cf370e /gdb/rs6000-tdep.c
parent3ee14acb14bc58120557de9fe313cba73a937721 (diff)
downloadgdb-7f5d7a5b1a576dc09a2b28e5fb8c27ef8827a4e1.tar.gz
* rs6000-tdep.c (ppc_displaced_step_fixup): Change type of
`current_pc' from CORE_ADDR to ULONGEST.
Diffstat (limited to 'gdb/rs6000-tdep.c')
-rw-r--r--gdb/rs6000-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index 7e2ce49e38b..20a6cb5ea87 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