diff options
author | Tom Tromey <tom@tromey.com> | 2018-07-23 19:47:39 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-11-09 16:04:03 -0700 |
commit | eefce37f62d87a65f63e12e421a3f727b2685e9d (patch) | |
tree | 65202f942e850bde312cebcdf8d59a5b9aef1ace /bfd/version.h | |
parent | 2179fbc36d23f29a83fb3dfcac0fc7d1fb31b8e8 (diff) | |
download | binutils-gdb-eefce37f62d87a65f63e12e421a3f727b2685e9d.tar.gz |
Remove a VEC from remote.c
This removes the VEC from remote_g_packet_data, replacing it with a
std::vector. This is a bit odd in that this object is never
destroyed, and is obstack-allocated. I believe a gdbarch is never
destroyed, so this seemed ok.
Tested by the buildbot.
gdb/ChangeLog
2018-11-09 Tom Tromey <tom@tromey.com>
* remote.c (remote_g_packet_guess_s): Remove typedef and DEF_VEC.
(struct remote_g_packet_data): Derive from allocate_on_obstack.
<guesses>: Now a std::vector.
(remote_g_packet_data_init, register_remote_g_packet_guess):
Update.
(remote_read_description_p): Update. Return bool.
(remote_target::read_description): Update.
(struct remote_g_packet_guess): Add constructor.
Diffstat (limited to 'bfd/version.h')
0 files changed, 0 insertions, 0 deletions