aboutsummaryrefslogtreecommitdiff
path: root/gdb/auxv.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/auxv.c')
-rw-r--r--gdb/auxv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/auxv.c b/gdb/auxv.c
index 8d25969..8bcd347 100644
--- a/gdb/auxv.c
+++ b/gdb/auxv.c
@@ -90,7 +90,8 @@ ld_so_xfer_auxv (gdb_byte *readbuf,
LONGEST retval;
size_t block;
- bound_minimal_symbol msym = lookup_minimal_symbol ("_dl_auxv");
+ bound_minimal_symbol msym
+ = lookup_minimal_symbol (current_program_space, "_dl_auxv");
if (msym.minsym == NULL)
return TARGET_XFER_E_IO;