Bogus change to gdb.base/cursal.exp?

Mark Kettenis
2006-08-01T22:40:59Z

Nathan,

The gdb.base/cursal.exp test is currently failing for me:

Running ../../../../src/gdb/gdb/testsuite/gdb.base/cursal.exp ...
PASS: gdb.base/cursal.exp: set listsize 1
PASS: gdb.base/cursal.exp: list before run
ERROR: tcl error sourcing ../../../../src/gdb/gdb/testsuite/gdb.base/cursal.exp.
ERROR: wrong # args: should be "gdb_load arg"
while executing
"gdb_load"
(file "../../../../src/gdb/gdb/testsuite/gdb.base/cursal.exp" line 45)
invoked from within
"source ../../../../src/gdb/gdb/testsuite/gdb.base/cursal.exp"
("uplevel" body line 1)
invoked from within
"uplevel #0 source ../../../../src/gdb/gdb/testsuite/gdb.base/cursal.exp"
invoked from within
"catch "uplevel #0 source $test_file_name""
Running ../../../../src/gdb/gdb/testsuite/gdb.base/cvexpr.exp ...

Looking at these error messages, your last change to
gdb.base/cursal.exp:

2006-07-24 Nathan Sidwell <nathan@codesourcery.com>

* gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
* gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.

just can't be right. Can you please back the gdb.base/cursal.exp bit out?

Thanks,

Mark