Re: [PATCH] GDB/testsuite: Add a way to send multiple init commands

Tom Tromey
2014-06-11T15:39:19Z

>>>>> "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