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]

[commit] [patch 1/2] Code cleanup: -ex and -x parsing: Use VEC


On Sat, 25 Feb 2012 14:47:44 +0100, Jan Kratochvil wrote:
> gdb/
> 2012-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	Code cleanup.
> 	* main.c (struct cmdarg): Move it here from main.  Add more comments.
> 	(cmdarg_s, VEC (cmdarg_s)): New.
> 	(main): Move struct cmdarg from here.  New variables cmdarg_vec and
> 	cmdarg_p.  Remove variables cmdsize and ncmd and their initialization.
> 	Install cleanup for cmdarg_vec.  Update filling for options 'x' and
> 	'X'.  Replace cmdarg processing by cmdarg_vec processing.  Remove xfree
> 	of CMDARG.

Checked in:
	http://sourceware.org/ml/gdb-cvs/2012-03/msg00234.html


Thanks,
Jan


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