mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-31 18:20:12 +08:00
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:
@ -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>
|
2007-10-30 Markus Deuling <deuling@de.ibm.com>
|
||||||
|
|
||||||
* armnbsd-nat.c (arm_supply_gregset, fetch_register, store_register)
|
* 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 = BranchDest (pc, this_instr);
|
||||||
nextpc |= bit (this_instr, 24) << 1;
|
nextpc |= bit (this_instr, 24) << 1;
|
||||||
|
|
||||||
nextpc = gdbarch_addr_bits_remove (current_gdbarch, nextpc);
|
nextpc = gdbarch_addr_bits_remove (gdbarch, nextpc);
|
||||||
if (nextpc == pc)
|
if (nextpc == pc)
|
||||||
error (_("Infinite loop detected"));
|
error (_("Infinite loop detected"));
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user