C++-ify break-catch-throw
authorTom Tromey <tom@tromey.com>
Sat, 3 Jun 2017 14:06:36 +0000 (08:06 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 22 Jul 2017 22:10:41 +0000 (16:10 -0600)
commit4fa8aeac1972ed07261919ce652c886160d8cf2f
treef42d79392108e1fbada804402f7d73adb03d0c90
parentf746a1544499acc20aa28dcdbcd2ea6df5548889
C++-ify break-catch-throw

This changes exception_catchpoint's "exception_rx' member to be a
std::string, and updating the users.

ChangeLog
2017-07-22  Tom Tromey  <tom@tromey.com>

* break-catch-throw.c (struct exception_catchpoint)
<exception_rx>: Now a std::string.
(~exception_catchpoint): Remove.
(print_one_detail_exception_catchpoint): Update.
(handle_gnu_v3_exceptions): Change type of except_rx.
(extract_exception_regexp): Return a std::string.
(catch_exception_command_1): Update.
gdb/ChangeLog
gdb/break-catch-throw.c