summaryrefslogtreecommitdiff
path: root/gdb/go32-nat.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2001-06-04 07:29:00 +0000
committerEli Zaretskii <eliz@gnu.org>2001-06-04 07:29:00 +0000
commitc2785f9be11c196ea919512e93692935df5b59c3 (patch)
treea1aed5ff44942dc9ce7ad05b1761af8d27109a22 /gdb/go32-nat.c
parentdc4903752cbe01c2c1176e647c4fcf778136d3c9 (diff)
downloadgdb-c2785f9be11c196ea919512e93692935df5b59c3.tar.gz
* go32-nat.c (go32_wait): Change the return value to ptid_t.
* config/djgpp/fnchange.lst: Add two new files in the gdb/testsuite/gdb.c++/ directory to the remapped names. * config/djgpp/djconfig.sh (lt_cv_sys_max_cmd_len): Set to 12KB.
Diffstat (limited to 'gdb/go32-nat.c')
-rw-r--r--gdb/go32-nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/go32-nat.c b/gdb/go32-nat.c
index c77a9fc2518..d7647e959ee 100644
--- a/gdb/go32-nat.c
+++ b/gdb/go32-nat.c
@@ -340,7 +340,7 @@ go32_resume (ptid_t ptid, int step, enum target_signal siggnal)
static char child_cwd[FILENAME_MAX];
-static int
+static ptid_t
go32_wait (ptid_t ptid, struct target_waitstatus *status)
{
int i;
@@ -455,7 +455,7 @@ go32_wait (ptid_t ptid, struct target_waitstatus *status)
}
}
}
- return SOME_PID;
+ return pid_to_ptid (SOME_PID);
}
static void