aboutsummaryrefslogtreecommitdiff
path: root/gdb/arm-tdep.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-10-30 21:43:33 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-10-30 21:43:33 +0000
commite1e01acdc81f9ddcfda2d4bc64d45468eb59581d (patch)
tree8ca0f7af960ee28d0be4fbf3f2a2db1d05118f66 /gdb/arm-tdep.c
parentb2cb219a9d9b9e689c14ff470f09d04228808870 (diff)
downloadgdb-e1e01acdc81f9ddcfda2d4bc64d45468eb59581d.zip
gdb-e1e01acdc81f9ddcfda2d4bc64d45468eb59581d.tar.gz
gdb-e1e01acdc81f9ddcfda2d4bc64d45468eb59581d.tar.bz2
2007-10-30 Markus Deuling <deuling@de.ibm.com>
* arm-tdep.c (arm_get_next_pc): Replace current_gdbarch by gdbarch.
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r--gdb/arm-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index 82e5a6a..190f6a1 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -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;