* gdbarch.sh (construct_inferior_arguments): Remove.

* gdbarch.c, gdbarch.h: Regenerate.
	* infcmd.c (get_inferior_args): Call construct_inferior_arguments
	directly instead of gdbarch_construct_inferior_arguments.
	(construct_inferior_arguments): Remove GDBARCH argument.
	* inferior.h (construct_inferior_arguments): Likewise.
This commit is contained in:
Ulrich Weigand
2009-06-17 18:35:33 +00:00
parent 9216df9506
commit bd57a74827
6 changed files with 12 additions and 50 deletions

View File

@@ -194,8 +194,7 @@ get_inferior_args (void)
{
char *n, *old;
n = gdbarch_construct_inferior_arguments (current_gdbarch,
inferior_argc, inferior_argv);
n = construct_inferior_arguments (inferior_argc, inferior_argv);
old = set_inferior_args (n);
xfree (old);
}
@@ -247,7 +246,7 @@ notice_args_read (struct ui_file *file, int from_tty,
/* Compute command-line string given argument vector. This does the
same shell processing as fork_inferior. */
char *
construct_inferior_arguments (struct gdbarch *gdbarch, int argc, char **argv)
construct_inferior_arguments (int argc, char **argv)
{
char *result;