Remove a VEC from serial.c
authorTom Tromey <tom@tromey.com>
Thu, 7 Jun 2018 23:25:41 +0000 (17:25 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 9 Jun 2018 22:07:57 +0000 (16:07 -0600)
commit191cca638351fcaf9bee93a396bd4f8b74f915eb
treeff89cbea6a3bae8b510eed01da26d2f53e4fbb90
parentc5d0225d250b4c6537a0d22f0a89975834bfd294
Remove a VEC from serial.c

This replaces a VEC in serial.c with a std::vector.

Tested by the buildbot.

gdb/ChangeLog
2018-06-09  Tom Tromey  <tom@tromey.com>

* serial.c (serial_ops_p): Remove typedef.  Don't declare VEC.
(serial_ops_list): Now static, std::vector.
(serial_interface_lookup, serial_add_interface): Update.
gdb/ChangeLog
gdb/serial.c