diff options
author | Tom Tromey <tom@tromey.com> | 2017-11-03 14:55:39 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-11-08 11:20:14 -0700 |
commit | 2f4732b0e622d9d5d899c29e2132e4cd2966aaad (patch) | |
tree | 436c8e4f7e095462880acf142f387d942aec206b /gdb/ChangeLog | |
parent | f9d67a22392f8f52c779f68a2561eb35c2f86b81 (diff) | |
download | gdb-2f4732b0e622d9d5d899c29e2132e4cd2966aaad.zip gdb-2f4732b0e622d9d5d899c29e2132e4cd2966aaad.tar.gz gdb-2f4732b0e622d9d5d899c29e2132e4cd2966aaad.tar.bz2 |
Remove symbolp vector
This removes the symbolp typedef from dwarf2read.c and converts the
associated VEC uses to std::vector. This fixes a latent possible
memory leak if an exception were thrown, because there were no
cleanups installed for these VECs.
Regression tested on the buildbot.
gdb/ChangeLog
2017-11-08 Tom Tromey <tom@tromey.com>
* dwarf2read.c (symbolp): Remove typedef.
(read_func_scope): Use std::vector.
(process_structure_scope): Use std::vector.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a26afa4..cf9ccfc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2017-11-08 Tom Tromey <tom@tromey.com> + + * dwarf2read.c (symbolp): Remove typedef. + (read_func_scope): Use std::vector. + (process_structure_scope): Use std::vector. + 2017-11-08 Pedro Alves <palves@redhat.com> * ada-lang.c (ada_make_symbol_completion_list): Use |