aboutsummaryrefslogtreecommitdiff
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
commit07091751ffb7774332fbf4e1bdf103df83a0a554 (patch)
tree54bfc11f9cd5c8953332b9af32f0ee1c8fbbe6b5 /gdb/inferior.h
parent554064594b5fa51c31a4d57917b379233780d18f (diff)
downloadgdb-07091751ffb7774332fbf4e1bdf103df83a0a554.zip
gdb-07091751ffb7774332fbf4e1bdf103df83a0a554.tar.gz
gdb-07091751ffb7774332fbf4e1bdf103df83a0a554.tar.bz2
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 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;