diff options
author | Tom Tromey <tom@tromey.com> | 2019-01-23 18:58:34 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2019-01-23 19:07:05 +0000 |
commit | 286526c1e5f6d54bf6ecc961d7c2d0a32b58fe45 (patch) | |
tree | 626a823940ec5e20979fb5f2a75c0c6030dbb72c /gdb/gdbarch.c | |
parent | 1db93f14fae0b3a638324e5349fe56a0e625451e (diff) | |
download | gdb-286526c1e5f6d54bf6ecc961d7c2d0a32b58fe45.zip gdb-286526c1e5f6d54bf6ecc961d7c2d0a32b58fe45.tar.gz gdb-286526c1e5f6d54bf6ecc961d7c2d0a32b58fe45.tar.bz2 |
Remove clear_symtab_users_cleanup
This removes clear_symtab_users_cleanup, replacing it with uses of
forward_scope_exit.
gdb/ChangeLog:
2019-01-23 Tom Tromey <tom@tromey.com>
Pedro Alves <palves@redhat.com>
* symfile.c: Include forward-scope-exit.h.
(clear_symtab_users_cleanup): Replace forward declaration with
a FORWARD_SCOPE_EXIT.
(syms_from_objfile_1): Use the forward_scope_exit and
gdb::optional instead of cleanup_function.
(reread_symbols): Use the forward_scope_exit instead of
cleanup_function.
(clear_symtab_users_cleanup): Remove function.
Diffstat (limited to 'gdb/gdbarch.c')
0 files changed, 0 insertions, 0 deletions