diff options
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r-- | gdb/procfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c index e01d664..83b3d7cc 100644 --- a/gdb/procfs.c +++ b/gdb/procfs.c @@ -3894,7 +3894,7 @@ procfs_target::make_corefile_notes (bfd *obfd, int *note_size) &thread_args); note_data = thread_args.note_data; - auxv_len = target_read_alloc (target_stack, TARGET_OBJECT_AUXV, + auxv_len = target_read_alloc (current_top_target (), TARGET_OBJECT_AUXV, NULL, &auxv); if (auxv_len > 0) { |