diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2012-01-20 09:42:44 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2012-01-20 09:42:44 +0000 |
commit | e714e1bf77429248e080fee199c87376a8649184 (patch) | |
tree | 6d061758ba7fd610a4b282f01a3bde7c78a01fab /gdb/inferior.h | |
parent | 618d666674ca5ab37b3632bf719afa27703f6a72 (diff) | |
download | gdb-e714e1bf77429248e080fee199c87376a8649184.zip gdb-e714e1bf77429248e080fee199c87376a8649184.tar.gz gdb-e714e1bf77429248e080fee199c87376a8649184.tar.bz2 |
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.
Diffstat (limited to 'gdb/inferior.h')
-rw-r--r-- | gdb/inferior.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h index f05789f..7857cbf 100644 --- a/gdb/inferior.h +++ b/gdb/inferior.h @@ -421,6 +421,8 @@ struct inferior /* Actual target inferior id, usually, a process id. This matches the ptid_t.pid member of threads of this inferior. */ int pid; + /* True if the PID was actually faked by GDB. */ + int fake_pid_p; /* State of GDB control of inferior process execution. See `struct inferior_control_state'. */ |