From e714e1bf77429248e080fee199c87376a8649184 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Fri, 20 Jan 2012 09:42:44 +0000 Subject: 2012-01-20 Pedro Alves Ulrich Weigand * 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. --- gdb/inferior.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/inferior.c') diff --git a/gdb/inferior.c b/gdb/inferior.c index 65948c4..4df8c77 100644 --- a/gdb/inferior.c +++ b/gdb/inferior.c @@ -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; -- cgit v1.1