From 07091751ffb7774332fbf4e1bdf103df83a0a554 Mon Sep 17 00:00:00 2001 From: Fernando Nasser Date: Wed, 24 Jan 2001 16:28:20 +0000 Subject: 2001-01-24 Fernando Nasser * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions for the inferior program arguments. (run_command, run_no_args_command, init_infcmd)): Use accessor functions to set the inferior program arguments. * inferior.h: Add definitions to the accessor functions above. --- gdb/inferior.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gdb/inferior.h') diff --git a/gdb/inferior.h b/gdb/inferior.h index 474d278..79fe569 100644 --- a/gdb/inferior.h +++ b/gdb/inferior.h @@ -285,6 +285,10 @@ extern void tty_command (char *, int); extern void attach_command (char *, int); +extern char *get_inferior_arg (void); + +extern char *set_inferior_arg (char *); + /* Last signal that the inferior received (why it stopped). */ extern enum target_signal stop_signal; -- cgit v1.1