]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Remove make_show_memory_breakpoints_cleanup
authorTom Tromey <tom@tromey.com>
Sat, 9 Sep 2017 16:47:10 +0000 (10:47 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 11 Sep 2017 22:15:14 +0000 (16:15 -0600)
commitcb85b21ba1c0014787129d3f53cb8755aba64930
tree6a8abb868ad2332627b6fb86e7c28d2683692b9b
parent8fbc99ef16dfb49981e275f735cb591e68983d08
Remove make_show_memory_breakpoints_cleanup

This removes make_show_memory_breakpoints_cleanup, replacing it with
make_scoped_restore_show_memory_breakpoints and updating all callers.

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

* breakpoint.c (program_breakpoint_here_p): Update.
* target.c (make_scoped_restore_show_memory_breakpoints): Rename
from make_show_memory_breakpoints_cleanup.  Return a
scoped_restore_tmpl<int>.
(restore_show_memory_breakpoints): Remove.
* ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Update.
* mem-break.c (memory_validate_breakpoint): Update.
* ia64-tdep.c (ia64_memory_insert_breakpoint): Update.
(ia64_memory_remove_breakpoint): Update.
(ia64_breakpoint_from_pc): Update.
* target.h (make_scoped_restore_show_memory_breakpoints): Rename
from make_show_memory_breakpoints_cleanup.
gdb/ChangeLog
gdb/breakpoint.c
gdb/ia64-tdep.c
gdb/mem-break.c
gdb/ppc-linux-tdep.c
gdb/target.c
gdb/target.h