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 11/15] PIE: testsuite: Make a proc to find a core


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


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