diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2009-06-17 18:35:33 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2009-06-17 18:35:33 +0000 |
commit | bd57a74827f57fff3091846922548baa2bdf9d27 (patch) | |
tree | 84ed829adceea7987b51c7763df01c46b9d9a953 /gdb/infcmd.c | |
parent | 9216df950648b5e483eaf33755d27e64a74ba90f (diff) | |
download | gdb-bd57a74827f57fff3091846922548baa2bdf9d27.zip gdb-bd57a74827f57fff3091846922548baa2bdf9d27.tar.gz gdb-bd57a74827f57fff3091846922548baa2bdf9d27.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r-- | gdb/infcmd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 422993f..6140777 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -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; |