diff options
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r-- | gdb/procfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c index 20afdee..73e1c5b 100644 --- a/gdb/procfs.c +++ b/gdb/procfs.c @@ -4622,7 +4622,7 @@ procfs_inferior_created (struct target_ops *ops, int from_tty) the inferior ourselves, there is nothing to do when the inferior was created by attaching to an already running process, or when debugging a core file. */ - if (current_inferior ()->attach_flag || !target_can_run (¤t_target)) + if (current_inferior ()->attach_flag || !target_can_run (current_target)) return; proc_trace_syscalls_1 (find_procinfo_or_die (ptid_get_pid (inferior_ptid), @@ -5460,7 +5460,7 @@ procfs_make_note_section (struct target_ops *self, bfd *obfd, int *note_size) &thread_args); note_data = thread_args.note_data; - auxv_len = target_read_alloc (¤t_target, TARGET_OBJECT_AUXV, + auxv_len = target_read_alloc (current_target, TARGET_OBJECT_AUXV, NULL, &auxv); if (auxv_len > 0) { |