]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/main.c
Remove last cleanup from captured_main_1
authorTom Tromey <tom@tromey.com>
Wed, 12 Oct 2016 02:02:23 +0000 (20:02 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 21 Oct 2016 20:17:39 +0000 (14:17 -0600)
commitf60ee22ea1d62f7004511ec65a3ad76890032d88
tree87b16bda9842bcb83666c81b97280c12cf23c2ef
parent192ca6d8eac4a5538036ef200b95d6ef3dbe9511
Remove last cleanup from captured_main_1

An earlier patch split captured_main into two parts.  This patch
removes the last remaining cleanup from captured_main_1, and also
replaces a second hand-rolled VEC-like array with a std::vector.

2016-10-21  Tom Tromey  <tom@tromey.com>

* main.c: Include <vector>.
(cmdarg_s): Remove typedef.  Don't define VEC.
(captured_main_1): Use vector, not VEC.  Remove cleanups.
gdb/ChangeLog
gdb/main.c