OSDN Git Service

gdb/testsuite/
authorjkratoch <jkratoch>
Sat, 9 Jan 2010 00:14:11 +0000 (00:14 +0000)
committerjkratoch <jkratoch>
Sat, 9 Jan 2010 00:14:11 +0000 (00:14 +0000)
commitc5e5764b28cfc234e8678a49ba167e172490e23e
tree4f918158e0a1908faa565212f5e74608c05a995b
parent957899aebd715f8f2cc93f54c13982c80ed39fed
gdb/testsuite/
* gdb.base/corefile.exp: Move the core finding block out and call it as
core_find, new variable $corefile, replace corefile by $corefile and
[file tail $corefile] for usage vs. test names resp.
* lib/gdb.exp (core_find): Move it as a new function here.  New
parameter binfile and deletefiles.  New variable $destcore.  Pre-delete
$destcore.  Return "" on error.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/corefile.exp
gdb/testsuite/lib/gdb.exp