aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-target.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/solib-target.c')
-rw-r--r--gdb/solib-target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib-target.c b/gdb/solib-target.c
index 7f96e80..adbab7e 100644
--- a/gdb/solib-target.c
+++ b/gdb/solib-target.c
@@ -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;