Re: Bogus change to gdb.base/cursal.exp?

Daniel Jacobowitz
2006-08-01T22:58:31Z

On Wed, Aug 02, 2006 at 12:38:18AM +0200, Mark Kettenis wrote:
> 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?

I thought Nathan had fixed this on HEAD, but I guess he didn't check in
the fix. I've taken care of this with the attached patch, from
gdb-csl-20060226-branch.

--
Daniel Jacobowitz
CodeSourcery

Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/ChangeLog,v
retrieving revision 1.1244
diff -u -p -r1.1244 ChangeLog
--- ChangeLog 25 Jul 2006 04:24:50 -0000 1.1244
+++ ChangeLog 1 Aug 2006 22:57:07 -0000
@@ -1,3 +1,7 @@
+2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
+
+ * gdb.base/cursal.exp: Add "" to gdb_load call.
+
2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>

* gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
Index: gdb.base/cursal.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/cursal.exp,v
retrieving revision 1.2
diff -u -p -r1.2 cursal.exp
--- gdb.base/cursal.exp 24 Jul 2006 14:20:50 -0000 1.2
+++ gdb.base/cursal.exp 1 Aug 2006 22:57:07 -0000
@@ -42,7 +42,7 @@ gdb_test "set listsize 1" \
gdb_test "list" \
"v0 = 0;" \
"list before run"
-gdb_load
+gdb_load ""
if {! [runto_main]} {
return -1
}