gdb: remove current_top_target function
[deliverable/binutils-gdb.git] / gdb / solib-aix.c
index a0dbdde4d49bc8b4030c6cff86f973fdd78052af..faccf299899b6623d7f7b75e7bf12ff3d3de7392 100644 (file)
@@ -246,7 +246,8 @@ solib_aix_get_library_list (struct inferior *inf, const char *warning_msg)
     return data->library_list;
 
   gdb::optional<gdb::char_vector> library_document
-    = target_read_stralloc (current_top_target (), TARGET_OBJECT_LIBRARIES_AIX,
+    = target_read_stralloc (current_inferior ()->top_target (),
+                           TARGET_OBJECT_LIBRARIES_AIX,
                            NULL);
   if (!library_document && warning_msg != NULL)
     {
This page took 0.030801 seconds and 4 git commands to generate.