From: Martin Hunt Date: Fri, 8 Feb 2002 21:22:10 +0000 (+0000) Subject: 2002-02-08 Martin M. Hunt X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f687139811c1f208969069d0aa030b63641b8119;p=binutils-gdb.git 2002-02-08 Martin M. Hunt * win32-nat.c (cygwin_pid_to_str): Fix typo. xaprintf -> xasprintf. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f57fd30d57d..47863759b30 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-02-08 Martin M. Hunt + + * win32-nat.c (cygwin_pid_to_str): Fix typo. + xaprintf -> xasprintf. + 2002-02-08 Pierre Muller * win32-nat.c: Remove use of printf and sprintf functions. diff --git a/gdb/win32-nat.c b/gdb/win32-nat.c index 08a8ddbab6f..fa0d0b418bb 100644 --- a/gdb/win32-nat.c +++ b/gdb/win32-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; diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index 08a8ddbab6f..fa0d0b418bb 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;