Use XCNEW rather than xcalloc (1, ...) in linux-x86-low.c
authorGary Benson <gbenson@redhat.com>
Tue, 2 Sep 2014 15:28:54 +0000 (16:28 +0100)
committerGary Benson <gbenson@redhat.com>
Tue, 2 Sep 2014 15:31:20 +0000 (16:31 +0100)
commited859da732b00d5928f0b311454fa6474c04c15b
tree0b9763c19c25101a1c934c4236d4bdb77c265ea6
parentf1fb1cd70ad4b68c23b3fb5f20dd9559b3e3b7ea
Use XCNEW rather than xcalloc (1, ...) in linux-x86-low.c

This commit replaces two uses of xcalloc (1, ...) with XCNEW.

gdb/gdbserver/ChangeLog:

* linux-x86-low.c (x86_linux_new_process): Use XCNEW.
(x86_linux_new_thread): Likewise.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-x86-low.c