aboutsummaryrefslogtreecommitdiff
path: root/gdb/windows-nat.c
diff options
context:
space:
mode:
authorMartin Hunt <hunt@redhat.com>2002-02-08 21:22:10 +0000
committerMartin Hunt <hunt@redhat.com>2002-02-08 21:22:10 +0000
commitf687139811c1f208969069d0aa030b63641b8119 (patch)
tree491136a51c6d01b2c5a6a24decd0bfdc28c152bb /gdb/windows-nat.c
parent4e52d31c5203d58173bdf24833dda512270cb5de (diff)
downloadgdb-f687139811c1f208969069d0aa030b63641b8119.zip
gdb-f687139811c1f208969069d0aa030b63641b8119.tar.gz
gdb-f687139811c1f208969069d0aa030b63641b8119.tar.bz2
2002-02-08 Martin M. Hunt <hunt@redhat.com>
* win32-nat.c (cygwin_pid_to_str): Fix typo. xaprintf -> xasprintf.
Diffstat (limited to 'gdb/windows-nat.c')
-rw-r--r--gdb/windows-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index 08a8ddb..fa0d0b4 100644
--- a/gdb/windows-nat.c
+++ b/gdb/windows-nat.c
@@ -1763,7 +1763,7 @@ cygwin_pid_to_str (ptid_t ptid)
int pid = PIDGET (ptid);
if ((DWORD) pid == current_event.dwProcessId)
- xaprintf (buf, "process %d", pid);
+ xasprintf (buf, "process %d", pid);
else
xasprintf (buf, "thread %ld.0x%x", current_event.dwProcessId, pid);
return buf;