2
0
mirror of https://sourceware.org/git/binutils-gdb.git synced 2024-12-21 04:42:53 +08:00

2011-03-04 Michael Snyder <msnyder@vmware.com>

* gdbserver/server.c (queue_stop_reply): Call xmalloc not malloc.
This commit is contained in:
Michael Snyder 2011-03-05 00:21:10 +00:00
parent 6546fb77b8
commit cfdee94ab4
2 changed files with 3 additions and 1 deletions
gdb

View File

@ -1,5 +1,7 @@
2011-03-04 Michael Snyder <msnyder@vmware.com>
* gdbserver/server.c (queue_stop_reply): Call xmalloc not malloc.
* xml-syscall.c (syscall_start_syscall): Assert name is non null.
2011-03-04 Thiago Jung Bauermann <bauerman@br.ibm.com>

View File

@ -121,7 +121,7 @@ queue_stop_reply (ptid_t ptid, struct target_waitstatus *status)
{
struct vstop_notif *new_notif;
new_notif = malloc (sizeof (*new_notif));
new_notif = xmalloc (sizeof (*new_notif));
new_notif->next = NULL;
new_notif->ptid = ptid;
new_notif->status = *status;