Riscv shared libraries should not export __global_pointer$.
[deliverable/binutils-gdb.git] / gdb / inf-child.c
index b04b52e9b0ad2b4ba86464f2fbcbb7b426d99ef8..a712613f082c7390ed872a0456f5d3052a3a0655 100644 (file)
@@ -77,7 +77,7 @@ inf_child_fetch_inferior_registers (struct target_ops *ops,
   if (regnum == -1)
     {
       for (regnum = 0;
-          regnum < gdbarch_num_regs (get_regcache_arch (regcache));
+          regnum < gdbarch_num_regs (regcache->arch ());
           regnum++)
        regcache_raw_supply (regcache, regnum, NULL);
     }
This page took 0.023693 seconds and 4 git commands to generate.