Remove cleanup from ada-lang.c
authorTom Tromey <tom@tromey.com>
Fri, 18 May 2018 21:41:33 +0000 (15:41 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 21 May 2018 16:01:14 +0000 (10:01 -0600)
commit6f46ac8531ead61003c96b8e2fa6a383ea8d8c58
treec4815185847f8d552492f4b025bcde97e93b1bca
parent15b6611c69f6fdb7a20cd50d33d9acf8c5c32037
Remove cleanup from ada-lang.c

This removes a cleanup from ada-lang.c by having
ada_exception_message_1 return a unique_xmalloc_ptr.

ChangeLog
2018-05-21  Tom Tromey  <tom@tromey.com>

* ada-lang.c (ada_exception_message_1, ada_exception_message):
Return unique_xmalloc_ptr.
(print_it_exception): Update.
gdb/ChangeLog
gdb/ada-lang.c