Return std::string from ada_exception_catchpoint_cond_string
authorTom Tromey <tom@tromey.com>
Thu, 3 May 2018 16:23:55 +0000 (10:23 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 4 May 2018 18:12:16 +0000 (12:12 -0600)
commitcb7de75eb33b2ceda391c903cac5e5ed63933b99
treefb7f9ceefc9264de9e66c4a6cc71bf82205380ca
parent49d83361cda4614f571f46c6bc0464092daf3dc9
Return std::string from ada_exception_catchpoint_cond_string

This changes ada_exception_catchpoint_cond_string to return a
std::string, allowing for the removal of a cleanup in
create_excep_cond_exprs.

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

* ada-lang.c (create_excep_cond_exprs): Update.
(ada_exception_catchpoint_cond_string): Use std::string.
gdb/ChangeLog
gdb/ada-lang.c