* gdb.base/pending.exp: Use gdb_run_cmd to start the program
authorNathan Froyd <froydnj@codesourcery.com>
Fri, 13 Nov 2009 20:01:07 +0000 (20:01 +0000)
committerNathan Froyd <froydnj@codesourcery.com>
Fri, 13 Nov 2009 20:01:07 +0000 (20:01 +0000)
instead of a bare "run".

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/pending.exp

index b6d9c7914663a2570d7d59a21d9c4e2664a5aff0..a8696cc75be3f0ad500328395231dd683e46defd 100644 (file)
@@ -1,3 +1,8 @@
+2009-11-13  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * gdb.base/pending.exp: Use gdb_run_cmd to start the program
+       instead of a bare "run".
+
 2009-11-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
 
        * gdb.python/py-prettyprint.exp: Adjust.
index 12274165918f05a92a8c2cddcc2c29af524728f7..badb003e7567793a5cde103b1faa3484bf452b19 100644 (file)
@@ -71,7 +71,10 @@ gdb_load ${binfile}
 gdb_load_shlibs $lib_sl
 
 set pendfunc1_loc [gdb_get_line_number "y = x + 4" ${libfile}.c]
-gdb_test "run" \
+
+gdb_run_cmd
+
+gdb_test "" \
 ".*Breakpoint.*pendfunc1.*at.*pendshr.c:$pendfunc1_loc.*y = x \\+ 4.*" \
 "run to resolved breakpoint 1 (without symbols)"