use xzalloc in ada-lang.c:replace_operator_with_call
authorJoel Brobecker <brobecker@gnat.com>
Mon, 21 Mar 2011 14:43:14 +0000 (14:43 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Mon, 21 Mar 2011 14:43:14 +0000 (14:43 +0000)
commit8c1a34e7f56df3c2a3de9946bd185a897c18c20d
tree87abeb0b0b794d3bbe3d2cc74ab37f342b62fb00
parent0e8ad34f4dcf33bfc81bd85a8190756691aed9bc
use xzalloc in ada-lang.c:replace_operator_with_call

This is to make sure that we cannot have a field with an undefined
value (currently, we are not setting the gdbarch).

gdb/ChangeLog:

* ada-lang.c (replace_operator_with_call): Use xzalloc instead
of xmalloc.
gdb/ChangeLog
gdb/ada-lang.c