This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] fix typo in win32-nat.c


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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]