From f687139811c1f208969069d0aa030b63641b8119 Mon Sep 17 00:00:00 2001 From: Martin Hunt Date: Fri, 8 Feb 2002 21:22:10 +0000 Subject: [PATCH] 2002-02-08 Martin M. Hunt * win32-nat.c (cygwin_pid_to_str): Fix typo. xaprintf -> xasprintf. --- gdb/ChangeLog | 5 +++++ gdb/win32-nat.c | 2 +- gdb/windows-nat.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) 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; -- 2.30.2