/* See nat/fork-inferior.h. */
void
-prefork_hook (const char *args)
+prefork_hook ()
{
gdb_assert (saved_ui == NULL);
/* Retain a copy of our UI, since the child will replace this value
/* Perform any necessary actions regarding to TTY before the
fork/vfork call. */
- prefork_hook (allargs.c_str ());
+ prefork_hook ();
/* It is generally good practice to flush any possible pending stdio
output prior to doing a fork, to avoid the possibility of both
struct target_waitstatus *mystatus,
ptid_t *myptid);
-/* Perform any necessary tasks before a fork/vfork takes place. ARGS
- is a string containing all the arguments received by the inferior.
- This function is mainly used by fork_inferior. */
-extern void prefork_hook (const char *args);
+/* Perform any necessary tasks before a fork/vfork takes place. This
+ function is mainly used by fork_inferior. */
+extern void prefork_hook ();
/* Perform any necessary tasks after a fork/vfork takes place. This
function is mainly used by fork_inferior. */
/* See nat/fork-inferior.h. */
void
-prefork_hook (const char *args)
+prefork_hook ()
{
client_state &cs = get_client_state ();
- if (debug_threads)
- {
- debug_printf ("args: %s\n", args);
- debug_flush ();
- }
#ifdef SIGTTOU
signal (SIGTTOU, SIG_DFL);