]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdbserver/ChangeLog
* regcache.c (new_register_cache): No need to check result of xcalloc.
authorDoug Evans <dje@google.com>
Mon, 19 Jan 2009 00:16:46 +0000 (00:16 +0000)
committerDoug Evans <dje@google.com>
Mon, 19 Jan 2009 00:16:46 +0000 (00:16 +0000)
commitaef93bd75fcfdd562b7b7adc6ef66d8cbe13d99e
treeb730067dd4ccff4b4c2b611d1458cad2c93bf521
parenta90b386908929431d254f92a0ecd8cc743b8be61
* regcache.c (new_register_cache): No need to check result of xcalloc.
* server.c (handle_search_memory): Back out calls to xmalloc,
result is checked and error is returned to user upon failure.
(handle_query): Ditto.  Add more checks for result of malloc.
(handle_v_cont): Check result of malloc, report error back to
user upon failure.
(handle_v_run): Ditto.  Call freeargv.
* server.h (freeargv): Declare.
* utils.c (freeargv): New fn.
gdb/gdbserver/ChangeLog
gdb/gdbserver/regcache.c
gdb/gdbserver/server.c
gdb/gdbserver/server.h
gdb/gdbserver/utils.c