[patch 11/15] PIE: testsuite: Make a proc to find a core

Tom Tromey tromey@redhat.com
Mon Nov 9 21:43:00 GMT 2009


>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Jan> gdb/testsuite/
Jan> 	* gdb.base/corefile.exp: Move the core finding block out and call it as
Jan> 	core_find, new variable $corefile, replace corefile by $corefile and
Jan> 	[file tail $corefile] for usage vs. test names resp.
Jan> 	* lib/gdb.exp (core_find): Move it as a new function here.  New
Jan> 	parameter binfile and deletefiles.  New variable $destcore.  Pre-delete
Jan> 	$destcore.  Return "" on error.

[...]
Jan> +    return 0;

s/;//

Ok with this change.

Tom



More information about the Gdb-patches mailing list