diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-05-25 14:58:31 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-05-25 14:58:31 +0000 |
commit | c27cda74c7f78e8db4cd25c739daca07ed83412c (patch) | |
tree | da7dc259633bb76ffaba0c5ab98dd0104c8bc0ad /gdb/procfs.c | |
parent | 1db2a7980ccad741cf45d0e8afd83fe7a9793cc4 (diff) | |
download | gdb-c27cda74c7f78e8db4cd25c739daca07ed83412c.zip gdb-c27cda74c7f78e8db4cd25c739daca07ed83412c.tar.gz gdb-c27cda74c7f78e8db4cd25c739daca07ed83412c.tar.bz2 |
2004-05-25 Andrew Cagney <cagney@gnu.org>
* target.h (struct target_ops): Add from_tty to
to_create_inferior.
(target_create_inferior, find_default_create_inferior): Update.
* infcmd.c (run_command): Update.
* wince.c (child_create_inferior): Update.
* win32-nat.c (child_create_inferior): Update.
* uw-thread.c (uw_thread_create_inferior): Update.
* thread-db.c (thread_db_create_inferior): Update.
* target.c (debug_to_create_inferior)
(find_default_create_inferior): Update.
(maybe_kill_then_create_inferior): Update.
* sol-thread.c (sol_thread_create_inferior): Update.
* remote.c (extended_remote_async_create_inferior)
(extended_remote_create_inferior): Update.
* remote-vx.c (vx_create_inferior): Update.
* remote-st.c (st2000_create_inferior): Update.
* remote-sim.c (gdbsim_create_inferior): Update.
* remote-sds.c (sds_create_inferior): Update.
* remote-rdp.c (remote_rdp_create_inferior): Update.
* remote-rdi.c (arm_rdi_create_inferior): Update.
* remote-m32r-sdi.c (m32r_create_inferior): Update.
* remote-e7000.c (e7000_create_inferior): Update.
* procfs.c (procfs_create_inferior): Update.
* ocd.c (ocd_create_inferior): Update.
* ocd.h (ocd_create_inferior): Update.
* nto-procfs.c (procfs_create_inferior): Update.
* monitor.c (monitor_create_inferior): Update.
* lin-lwp.c (lin_lwp_create_inferior): Update.
* inftarg.c (child_create_inferior): Update.
* hpux-thread.c (hpux_thread_create_inferior): Update.
* gnu-nat.c (gnu_create_inferior): Update.
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r-- | gdb/procfs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c index 352b735..672b5ac 100644 --- a/gdb/procfs.c +++ b/gdb/procfs.c @@ -124,7 +124,7 @@ static void procfs_notice_signals (ptid_t); static void procfs_prepare_to_store (void); static void procfs_kill_inferior (void); static void procfs_mourn_inferior (void); -static void procfs_create_inferior (char *, char *, char **); +static void procfs_create_inferior (char *, char *, char **, int); static ptid_t procfs_wait (ptid_t, struct target_waitstatus *); static int procfs_xfer_memory (CORE_ADDR, char *, int, int, struct mem_attrib *attrib, @@ -4972,7 +4972,8 @@ procfs_set_exec_trap (void) */ static void -procfs_create_inferior (char *exec_file, char *allargs, char **env) +procfs_create_inferior (char *exec_file, char *allargs, char **env, + int from_tty) { char *shell_file = getenv ("SHELL"); char *tryname; |