Remove resume_section_map_updates_cleanup
authorTom Tromey <tom@tromey.com>
Tue, 29 May 2018 19:51:58 +0000 (13:51 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 18 Jun 2018 19:16:45 +0000 (13:16 -0600)
commit06424eac62da949519c0c641fbc3e8372a9c7f0b
tree047b910268ca63e6c6d34502df1bdc5722366874
parentb4be9fadea469e2c937c81a8f1d3243206f9bcfc
Remove resume_section_map_updates_cleanup

This removes resume_section_map_updates_cleanup, replacing it with a
scoped_restore.

Tested by the buildbot.

gdb/ChangeLog
2018-06-18  Tom Tromey  <tom@tromey.com>

* objfiles.h (inhibit_section_map_updates): Update.
(resume_section_map_updates, resume_section_map_updates_cleanup):
Remove.
* solib-svr4.c (svr4_handle_solib_event): Update.
* objfiles.c (inhibit_section_map_updates): Return
scoped_restore_tmpl<int>.
(resume_section_map_updates, resume_section_map_updates_cleanup):
Remove.
gdb/ChangeLog
gdb/objfiles.c
gdb/objfiles.h
gdb/solib-svr4.c