aboutsummaryrefslogtreecommitdiff
path: root/gdb/standalone.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2001-05-04 04:15:33 +0000
committerKevin Buettner <kevinb@redhat.com>2001-05-04 04:15:33 +0000
commit39f770628a4eaf018fec8d55684bf2ec16ada9cc (patch)
tree69027cfb7df2ecc521ab2cc1d25a7dd6cbe56632 /gdb/standalone.c
parentb1af961c8433821f61dd1849cff9eb9a8bb974e8 (diff)
downloadgdb-39f770628a4eaf018fec8d55684bf2ec16ada9cc.zip
gdb-39f770628a4eaf018fec8d55684bf2ec16ada9cc.tar.gz
gdb-39f770628a4eaf018fec8d55684bf2ec16ada9cc.tar.bz2
Phase 1 of the ptid_t changes.
Diffstat (limited to 'gdb/standalone.c')
-rw-r--r--gdb/standalone.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/standalone.c b/gdb/standalone.c
index 2395189..6ae8f53 100644
--- a/gdb/standalone.c
+++ b/gdb/standalone.c
@@ -336,7 +336,7 @@ have_core_file_p (void)
kill_command (void)
{
- inferior_pid = 0;
+ inferior_ptid = null_ptid;
}
terminal_inferior (void)
@@ -531,7 +531,7 @@ int
wait (WAITTYPE *w)
{
WSETSTOP (*w, fault_table[fault_code / FAULT_CODE_UNITS]);
- return inferior_pid;
+ return PIDGET (inferior_ptid);
}
/* Allocate a big space in which files for kdb to read will be stored.