This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc]: Fix gdb.base/gcore.exp
Daniel Jacobowitz wrote:
On Tue, May 08, 2007 at 08:26:54PM +0200, Ulrich Weigand wrote:
What output do you get that runs into neither of the two
tested patterns?
FWIW, while Alan had core files broken because of the
segment-in-section change, I encountered the same TCL error.
I cannot reproduce it with current head :-( There was an error in
creating that core file.
For my opinion that variable should be initialized in every case. The testcase
should return a FAIL if GDB's output doesn't match the reg exp but not exit with an error.
<snip>
global core_supported
if {!$core_supported} {
return -1
}
</snip>
However, this testcase runs without error now. Thanks for your effort.
--
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com