This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: strange tcl dejagnu error
- From: Michael Chastain <mec dot gnu at mindspring dot com>
- To: gdb at sources dot redhat dot com, cagney at gnu dot org
- Date: Fri, 03 Sep 2004 23:54:07 -0400
- Subject: Re: strange tcl dejagnu error
- References: <4138F6A9.30609@gnu.org>
Oh, shit. This is mine.
I changed the return type of gdb_file_cmd; and I did a careful job of
changing all the callers in gdb.*/*.exp and lib/*.exp, but since I test
native only, I did not even think about config/*.exp.
The right code is:
set status [gdb_file_cmd $arg]
if { [lindex $status 0] != "" } then {
# gdb_file_cmd failed
whatever;
}
See the comment at the front of gdb_file_cmd for the specification
of the return value.
I'll fix this tomorrow. Sorry!
(And man, is there a lot of funky dead code in config/*.exp).
Michael