This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 11/15] PIE: testsuite: Make a proc to find a core
- From: Tom Tromey <tromey at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 09 Nov 2009 14:43:21 -0700
- Subject: Re: [patch 11/15] PIE: testsuite: Make a proc to find a core
- References: <20091109210021.GL19138@host0.dyn.jankratochvil.net>
- Reply-to: tromey at redhat dot com
>>>>> "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