This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch] fix typo in win32-nat.c
- From: "Martin M. Hunt" <hunt at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Cc: muller at cerbere dot u-strasbg dot fr
- Date: Fri, 8 Feb 2002 13:23:27 -0800
- Subject: [patch] fix typo in win32-nat.c
- Organization: Red Hat Inc
Checked in as an obvious fix.
--
Martin Hunt
GDB Engineer
Red Hat, Inc.
2002-02-08 Martin M. Hunt <hunt@redhat.com>
* win32-nat.c (cygwin_pid_to_str): Fix typo.
xaprintf -> xasprintf.
Index: win32-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/win32-nat.c,v
retrieving revision 1.48
diff -u -p -r1.48 win32-nat.c
--- win32-nat.c 2002/02/08 19:31:38 1.48
+++ win32-nat.c 2002/02/08 21:21:25
@@ -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;