mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-26 20:36:01 +00:00
* rs6000-tdep.c (ppc_displaced_step_fixup): Change type of
`current_pc' from CORE_ADDR to ULONGEST.
This commit is contained in:
parent
0aef6ba222
commit
a4fafde38f
@ -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().
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user