Remove symbolp vector
authorTom Tromey <tom@tromey.com>
Fri, 3 Nov 2017 20:55:39 +0000 (14:55 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 8 Nov 2017 18:20:14 +0000 (11:20 -0700)
commit2f4732b0e622d9d5d899c29e2132e4cd2966aaad
tree436c8e4f7e095462880acf142f387d942aec206b
parentf9d67a22392f8f52c779f68a2561eb35c2f86b81
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.
gdb/ChangeLog
gdb/dwarf2read.c
This page took 0.033642 seconds and 4 git commands to generate.