2007-10-30 Markus Deuling <deuling@de.ibm.com>
* arm-tdep.c (arm_get_next_pc): Replace current_gdbarch by gdbarch.
This commit is contained in:
parent
b2cb219a9d
commit
e1e01acdc8
@ -1,3 +1,7 @@
|
||||
2007-10-30 Markus Deuling <deuling@de.ibm.com>
|
||||
|
||||
* arm-tdep.c (arm_get_next_pc): Replace current_gdbarch by gdbarch.
|
||||
|
||||
2007-10-30 Markus Deuling <deuling@de.ibm.com>
|
||||
|
||||
* armnbsd-nat.c (arm_supply_gregset, fetch_register, store_register)
|
||||
|
@ -1719,7 +1719,7 @@ arm_get_next_pc (struct frame_info *frame, CORE_ADDR pc)
|
||||
nextpc = BranchDest (pc, this_instr);
|
||||
nextpc |= bit (this_instr, 24) << 1;
|
||||
|
||||
nextpc = gdbarch_addr_bits_remove (current_gdbarch, nextpc);
|
||||
nextpc = gdbarch_addr_bits_remove (gdbarch, nextpc);
|
||||
if (nextpc == pc)
|
||||
error (_("Infinite loop detected"));
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user