Convert struct target_ops to C++
[deliverable/binutils-gdb.git] / gdb / solib-target.c
index 7f96e80e1b283135429395d42ae531d9bd6e780f..adbab7ea3294641305387cdfcadc4fca7d4f6400 100644 (file)
@@ -258,7 +258,7 @@ solib_target_current_sos (void)
 
   /* Fetch the list of shared libraries.  */
   gdb::optional<gdb::char_vector> library_document
-    = target_read_stralloc (&current_target, TARGET_OBJECT_LIBRARIES, NULL);
+    = target_read_stralloc (target_stack, TARGET_OBJECT_LIBRARIES, NULL);
   if (!library_document)
     return NULL;
 
This page took 0.031073 seconds and 4 git commands to generate.