forked from Imagelibrary/binutils-gdb
gdb: add setter/getter for inferior arguments
Add args/set_args to the inferior class, remove the set_inferior_args and get_inferior_args functions, that would just be wrappers around them. Change-Id: If87d52f3402ce08be26c32897ae8915d9f6d1ea3
This commit is contained in:
@@ -3613,7 +3613,7 @@ procfs_target::make_corefile_notes (bfd *obfd, int *note_size)
|
||||
strncpy (psargs, get_exec_file (0), sizeof (psargs));
|
||||
psargs[sizeof (psargs) - 1] = 0;
|
||||
|
||||
inf_args = get_inferior_args ();
|
||||
inf_args = current_inferior ()->args ();
|
||||
if (inf_args && *inf_args
|
||||
&& (strlen (inf_args)
|
||||
< ((int) sizeof (psargs) - (int) strlen (psargs))))
|
||||
|
||||
Reference in New Issue
Block a user