This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA v2 17/17] Remove last cleanup from captured_main_1


On 10/13/2016 10:10 PM, Tom Tromey wrote:
> 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-11  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.

Nice.  This is OK.

Thanks,
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]