target_stack -> current_top_target() throughout
[deliverable/binutils-gdb.git] / gdb / auxv.c
index 86a1ba88a677c7649d9731c7e23a4cd1f62d73a5..2afa136efe523a32c13aefb9914da9a4eaa7b4cd 100644 (file)
@@ -291,7 +291,7 @@ target_auxv_parse (gdb_byte **readptr,
   if (gdbarch_auxv_parse_p (gdbarch))
     return gdbarch_auxv_parse (gdbarch, readptr, endptr, typep, valp);
 
-  return target_stack->auxv_parse (readptr, endptr, typep, valp);
+  return current_top_target ()->auxv_parse (readptr, endptr, typep, valp);
 }
 
 
@@ -549,7 +549,7 @@ info_auxv_command (const char *cmd, int from_tty)
     error (_("The program has no auxiliary information now."));
   else
     {
-      int ents = fprint_target_auxv (gdb_stdout, target_stack);
+      int ents = fprint_target_auxv (gdb_stdout, current_top_target ());
 
       if (ents < 0)
        error (_("No auxiliary vector found, or failed reading it."));
This page took 0.037309 seconds and 4 git commands to generate.