forked from Imagelibrary/binutils-gdb
2012-01-20 Pedro Alves <palves@redhat.com>
Ulrich Weigand <ulrich.weigand@linaro.org> * inferior.h (struct inferior): Add fake_pid_p. * inferior.c (exit_inferior_1): Clear fake_pid_p. * remote.c (remote_start_remote): Set fake_pid_p if we have to use magic_null_ptid since the remote side doesn't provide a real PID.
This commit is contained in:
@@ -276,6 +276,7 @@ exit_inferior_1 (struct inferior *inftoex, int silent)
|
||||
observer_notify_inferior_exit (inf);
|
||||
|
||||
inf->pid = 0;
|
||||
inf->fake_pid_p = 0;
|
||||
if (inf->vfork_parent != NULL)
|
||||
{
|
||||
inf->vfork_parent->vfork_child = NULL;
|
||||
|
||||
Reference in New Issue
Block a user