diff options
author | Michael Snyder <msnyder@vmware.com> | 2011-03-05 00:21:10 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2011-03-05 00:21:10 +0000 |
commit | cfdee94ab418b8ee1b2e5aba6f9de8fc3771b4fb (patch) | |
tree | 5d94b764e99d1b1a278ed6b14f0d53d31eb42dc5 /gdb/gdbserver | |
parent | 6546fb77b826074c1851bc3fa6aff92d97f55fe9 (diff) | |
download | gdb-cfdee94ab418b8ee1b2e5aba6f9de8fc3771b4fb.zip gdb-cfdee94ab418b8ee1b2e5aba6f9de8fc3771b4fb.tar.gz gdb-cfdee94ab418b8ee1b2e5aba6f9de8fc3771b4fb.tar.bz2 |
2011-03-04 Michael Snyder <msnyder@vmware.com>
* gdbserver/server.c (queue_stop_reply): Call xmalloc not malloc.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r-- | gdb/gdbserver/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c index 0ddf9de..8a19809 100644 --- a/gdb/gdbserver/server.c +++ b/gdb/gdbserver/server.c @@ -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; |