summaryrefslogtreecommitdiff
path: root/gdb/inferior.h
diff options
context:
space:
mode:
authorFernando Nasser <fnasser@redhat.com>2001-01-24 16:28:20 +0000
committerFernando Nasser <fnasser@redhat.com>2001-01-24 16:28:20 +0000
commitfe55946e1475a559ac2a7454dc9a3e3cd52fbfad (patch)
tree5c435b10c816356078ec73e6ec6320c6c22d9768 /gdb/inferior.h
parentf1a9af024fad41aeb4e825d1f3c58c0a8e88d956 (diff)
downloadgdb-fe55946e1475a559ac2a7454dc9a3e3cd52fbfad.tar.gz
2001-01-24 Fernando Nasser <fnasser@redhat.com>
* 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.
Diffstat (limited to 'gdb/inferior.h')
-rw-r--r--gdb/inferior.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h
index 474d2788a1f..79fe5693d1d 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;