diff options
| author | Tom Tromey <tom@tromey.com> | 2017-10-08 14:03:41 -0600 | 
|---|---|---|
| committer | Tom Tromey <tom@tromey.com> | 2017-10-11 15:46:31 -0600 | 
| commit | fdf44873ec6e37417bf8c8ce33bb9b1a6b4ddcef (patch) | |
| tree | 9d59f73575845d954d6a35ca8b1216dab62076dd /gdb/python/python.c | |
| parent | 81b1e71c4a1370c77ad1d462e1a761402d48b1c0 (diff) | |
| download | binutils-fdf44873ec6e37417bf8c8ce33bb9b1a6b4ddcef.zip binutils-fdf44873ec6e37417bf8c8ce33bb9b1a6b4ddcef.tar.gz binutils-fdf44873ec6e37417bf8c8ce33bb9b1a6b4ddcef.tar.bz2  | |
Remove prepare_re_set_context
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.
Diffstat (limited to 'gdb/python/python.c')
0 files changed, 0 insertions, 0 deletions
