Remove prepare_re_set_context
authorTom Tromey <tom@tromey.com>
Sun, 8 Oct 2017 20:03:41 +0000 (14:03 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 11 Oct 2017 21:46:31 +0000 (15:46 -0600)
prepare_re_set_context returns a null cleanup and doesn't seem
generally useful.  This patch removes it plus a few more cleanups; and
changes breakpoint_re_set to use scoped_restore rather than its own
manual mechanism.

2017-10-11  Tom Tromey  <tom@tromey.com>

* breakpoint.c (prepare_re_set_context): Remove.
(breakpoint_re_set_one): Update.  Don't use cleanups.
(breakpoint_re_set): Use scoped_restore, std::string, and
scoped_restore_current_language.


No differences found
This page took 0.023239 seconds and 4 git commands to generate.