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 | 810efbac1ca79fb8524ef7f16ef2e0368ad21fbe (patch) | |
tree | 170a742cd591f3ffafaf544ef10124511f0009ae /gdb/target.h | |
parent | 8f4eed25c5cc916ef12edff8829bd5b6d44c735a (diff) | |
download | gdb-810efbac1ca79fb8524ef7f16ef2e0368ad21fbe.tar.gz |
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/target.h')
-rw-r--r-- | gdb/target.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/target.h b/gdb/target.h index 086e3e1d433..664e2428b9c 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -353,7 +353,7 @@ struct target_ops void (*to_kill) (void); void (*to_load) (char *, int); int (*to_lookup_symbol) (char *, CORE_ADDR *); - void (*to_create_inferior) (char *, char *, char **); + void (*to_create_inferior) (char *, char *, char **, int); void (*to_post_startup_inferior) (ptid_t); void (*to_acknowledge_created_inferior) (int); int (*to_insert_fork_catchpoint) (int); @@ -712,8 +712,8 @@ extern void target_load (char *arg, int from_tty); ENV is the environment vector to pass. Errors reported with error(). On VxWorks and various standalone systems, we ignore exec_file. */ -#define target_create_inferior(exec_file, args, env) \ - (*current_target.to_create_inferior) (exec_file, args, env) +#define target_create_inferior(exec_file, args, env, FROM_TTY) \ + (*current_target.to_create_inferior) (exec_file, args, env, (FROM_TTY)) /* Some targets (such as ttrace-based HPUX) don't allow us to request @@ -1182,7 +1182,7 @@ extern void noprocess (void); extern void find_default_attach (char *, int); -extern void find_default_create_inferior (char *, char *, char **); +extern void find_default_create_inferior (char *, char *, char **, int); extern struct target_ops *find_run_target (void); |