* create_inferior
@ 2000-07-25 11:34 Brethour, Tanya (tonic)
0 siblings, 0 replies; only message in thread
From: Brethour, Tanya (tonic) @ 2000-07-25 11:34 UTC (permalink / raw)
To: 'gdb@sourceware.cygnus.com'
Quick question..
in a create_inferior function.. should the add_thread(inferior_pid) be before
or after the proceed function:
This what I have:
static void
ptx_thread_create_inferior (exec_file, allargs, env)
char *exec_file;
char *allargs;
char **env;
{
fork_inferior (exec_file, allargs, env, lwptrace_me,
lwptrace_him, NULL, NULL);
proceed ((CORE_ADDR) -1, TARGET_SIGNAL_0, 0);
push_target (&ptx_thread_ops);
add_thread (inferior_pid);
}
Thanks,
Tanya
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-07-25 11:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-25 11:34 create_inferior Brethour, Tanya (tonic)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).