aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/win32-nat.c2
-rw-r--r--gdb/windows-nat.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f57fd30..4786375 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/win32-nat.c b/gdb/win32-nat.c
index 08a8ddb..fa0d0b4 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 08a8ddb..fa0d0b4 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;