Change increment_reading_symtab to return a scoped_restore
authorTom Tromey <tom@tromey.com>
Fri, 7 Apr 2017 02:27:10 +0000 (20:27 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 12 Apr 2017 17:16:17 +0000 (11:16 -0600)
commitc83dd8672698bcdf48d27e267e481230075f5900
tree3a32b27c8908e22f0698bf29661b1aa4aa2a3b47
parent0e8621a0bec2d0840b853c4104614f345f0569ca
Change increment_reading_symtab to return a scoped_restore

This changes increment_reading_symtab to return a scoped_restore, then
fixes up the users.

gdb/ChangeLog
2017-04-12  Tom Tromey  <tom@tromey.com>

* symfile.h (increment_reading_symtab): Update type.
* symfile.c (decrement_reading_symtab): Remove.
(increment_reading_symtab): Return a scoped_restore_tmpl<int>.
* psymtab.c (psymtab_to_symtab): Update.
* dwarf2read.c (dw2_instantiate_symtab): Update.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/psymtab.c
gdb/symfile.c
gdb/symfile.h
This page took 0.024817 seconds and 4 git commands to generate.