if (gdbarch_auxv_parse_p (gdbarch))
return gdbarch_auxv_parse (gdbarch, readptr, endptr, typep, valp);
- return current_top_target ()->auxv_parse (readptr, endptr, typep, valp);
+ return current_inferior ()->top_target ()->auxv_parse (readptr, endptr,
+ typep, valp);
}
error (_("The program has no auxiliary information now."));
else
{
- int ents = fprint_target_auxv (gdb_stdout, current_top_target ());
+ int ents = fprint_target_auxv (gdb_stdout,
+ current_inferior ()->top_target ());
if (ents < 0)
error (_("No auxiliary vector found, or failed reading it."));