dwarf2read.c:mapped_index, use gdb::array_view, simplify symbol table
[deliverable/binutils-gdb.git] / gdb / aarch32-linux-nat.c
index 2df672df6c9a202aff2eff5b0340f8508f3b42a5..48e3a973bc0531486597de20d6beb7cfd18fc376 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999-2016 Free Software Foundation, Inc.
+/* Copyright (C) 1999-2017 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -46,7 +46,7 @@ aarch32_gp_regcache_supply (struct regcache *regcache, uint32_t *regs,
     regcache_raw_supply (regcache, ARM_PS_REGNUM, &regs[ARM_PC_REGNUM]);
 
   regs[ARM_PC_REGNUM] = gdbarch_addr_bits_remove
-                         (get_regcache_arch (regcache), regs[ARM_PC_REGNUM]);
+                         (regcache->arch (), regs[ARM_PC_REGNUM]);
   regcache_raw_supply (regcache, ARM_PC_REGNUM, &regs[ARM_PC_REGNUM]);
 }
 
This page took 0.05067 seconds and 4 git commands to generate.