diff options
author | Tom Tromey <tom@tromey.com> | 2018-06-07 17:22:49 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-06-10 22:12:32 -0600 |
commit | 219605fd6adadadfd40234e39254077e044741d0 (patch) | |
tree | dbe1e44ac2bc80a38d485f3d5d897ce0af0bdfdb /gold/dynobj.cc | |
parent | 71b73764977a3895b0dda3e7260eece7a8d3e60c (diff) | |
download | gdb-219605fd6adadadfd40234e39254077e044741d0.zip gdb-219605fd6adadadfd40234e39254077e044741d0.tar.gz gdb-219605fd6adadadfd40234e39254077e044741d0.tar.bz2 |
Remove a VEC from record-full.c
This replaces a VEC in record-full.c with a std::vector. This version
of the patch also catches a memory leak in the original code noticed
by Simon.
Tested by the buildbot.
gdb/ChangeLog
2018-06-10 Tom Tromey <tom@tromey.com>
* record-full.c (record_full_breakpoint_p): Remove typedef. Don't
declare VEC. Add constructor.
<in_target_beneath>: Now bool.
(record_full_breakpoints): Now a std::vector, static.
(record_full_sync_record_breakpoints)
(record_full_init_record_breakpoints)
(record_full_target::insert_breakpoint)
(record_full_target::remove_breakpoint): Update. Don't use XNEW.
Diffstat (limited to 'gold/dynobj.cc')
0 files changed, 0 insertions, 0 deletions