2011-03-04 Michael Snyder <msnyder@vmware.com>
authorMichael Snyder <msnyder@vmware.com>
Sat, 5 Mar 2011 00:21:10 +0000 (00:21 +0000)
committerMichael Snyder <msnyder@vmware.com>
Sat, 5 Mar 2011 00:21:10 +0000 (00:21 +0000)
* gdbserver/server.c (queue_stop_reply): Call xmalloc not malloc.

gdb/ChangeLog
gdb/gdbserver/server.c

index 1fdb680e3ccbe42d598e8458da6b27b2be45400c..043be2ee64c111006ed6ef5b29d59426d2e23fe5 100644 (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>
index 0ddf9de50aa2dc7a102d3761de2ad207dcdefb89..8a19809d7cac2eadcc3743caab204d3542a990e8 100644 (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;
This page took 0.028665 seconds and 4 git commands to generate.