This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Change increment_reading_symtab to return a scoped_restore
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Wed, 12 Apr 2017 16:29:58 -0400
- Subject: [binutils-gdb] Change increment_reading_symtab to return a scoped_restore
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT c83dd8672698bcdf48d27e267e481230075f5900 ***
Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: c83dd8672698bcdf48d27e267e481230075f5900
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.