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: [PATCH] GDB/testsuite: Add a way to send multiple init commands


>>>>> "Maciej" == Maciej W Rozycki <macro@codesourcery.com> writes:

Maciej> 2014-06-10  Maciej W. Rozycki  <macro@mips.com>
Maciej>             Maciej W. Rozycki  <macro@codesourcery.com>

Maciej> 	* lib/gdb.exp (gdb_run_cmd): Process `gdb_init_commands'.
Maciej> 	* lib/mi-support.exp (mi_run_cmd): Process `gdb_init_commands'.

I like Keith's proposed cleanup.

Maciej> +	set commands [target_info gdb_init_commands];

Extraneous ";".  There are a few of these.

I think this patch should also update testsuite/README to document the
new setting.

thanks,
Tom


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