diff options
author | Tom Tromey <tom@tromey.com> | 2018-05-24 22:09:24 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-05-25 13:08:55 -0600 |
commit | bf259e253f0d27323756fb434ba6e94d50846021 (patch) | |
tree | 324c5cad5dd9c58c11b715962a30c92e74855d1e /gdb/value.c | |
parent | d525a99be1b02dda6c69007e31dd06f276378aea (diff) | |
download | gdb-bf259e253f0d27323756fb434ba6e94d50846021.zip gdb-bf259e253f0d27323756fb434ba6e94d50846021.tar.gz gdb-bf259e253f0d27323756fb434ba6e94d50846021.tar.bz2 |
Remove cleanups from dbxread.c
This removes the remaining cleanups from dbxread.c, via std::vector,
scoped_restore, and unique_xmalloc_ptr.
Tested by the buildbot.
ChangeLog
2018-05-25 Tom Tromey <tom@tromey.com>
* dbxread.c (init_bincl_list): Remove.
(bincl_list): Now a std::vector.
(bincls_allocated, next_bincl): Remove.
(free_bincl_list, do_free_bincl_list_cleanup)
(make_cleanup_free_bincl_list): Remove.
(dbx_read_symtab, elfstab_build_psymtabs): Use scoped_restore,
unique_xmalloc_ptr.
(find_corresponding_bincl_psymtab, read_dbx_symtab): Update.
(struct header_file_location): Add constructor.
(add_bincl_to_list): Remove.
Diffstat (limited to 'gdb/value.c')
0 files changed, 0 insertions, 0 deletions