diff options
author | Tom Tromey <tom@tromey.com> | 2020-02-12 15:45:08 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-02-12 15:51:58 -0700 |
commit | a9d654186220b958b63185603675e69dd9316067 (patch) | |
tree | f1b17665f940ee85aa0c56de0e5c4526f29aa1bd /gdbserver/utils.cc | |
parent | 7559c21717237c565ff1604e7a99ce0a89ce4ebd (diff) | |
download | binutils-a9d654186220b958b63185603675e69dd9316067.zip binutils-a9d654186220b958b63185603675e69dd9316067.tar.gz binutils-a9d654186220b958b63185603675e69dd9316067.tar.bz2 |
Change fde table to a vector
This removes struct dwarf2_fde_table, replacing it with a typedef of
std::vector. This simplifies the code somewhat.
gdb/ChangeLog
2020-02-12 Tom Tromey <tom@tromey.com>
* dwarf2/frame.c (struct dwarf2_fde_table): Remove.
(dwarf2_fde_table): Typedef for std::vector.
(dwarf2_frame_objfile_data): Remove the deleter. Now static.
(dwarf2_frame_find_fde, add_fde, decode_frame_entry_1)
(decode_frame_entry): Update.
(dwarf2_build_frame_info): Use "new".
Diffstat (limited to 'gdbserver/utils.cc')
0 files changed, 0 insertions, 0 deletions