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:
parent
6546fb77b8
commit
cfdee94ab4
@ -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>
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user