OSDN Git Service

2002-02-08 Martin M. Hunt <hunt@redhat.com>
authorhunt <hunt>
Fri, 8 Feb 2002 21:22:10 +0000 (21:22 +0000)
committerhunt <hunt>
Fri, 8 Feb 2002 21:22:10 +0000 (21:22 +0000)
* win32-nat.c (cygwin_pid_to_str): Fix typo.
xaprintf -> xasprintf.

gdb/ChangeLog
gdb/win32-nat.c

index f57fd30..4786375 100644 (file)
@@ -1,3 +1,8 @@
+2002-02-08  Martin M. Hunt  <hunt@redhat.com>
+
+       * win32-nat.c (cygwin_pid_to_str): Fix typo.
+       xaprintf -> xasprintf.
+
 2002-02-08  Pierre Muller  <muller@ics.u-strasbg.fr>
 
        * win32-nat.c: Remove use of printf and sprintf functions.
index 08a8ddb..fa0d0b4 100644 (file)
@@ -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;