aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorNathan Froyd <froydnj@codesourcery.com>2009-11-13 20:01:07 +0000
committerNathan Froyd <froydnj@codesourcery.com>2009-11-13 20:01:07 +0000
commitbdea3a92b7a2c527ba40aa646d669c2c338f0a92 (patch)
tree3b9d5af86838198692ccfd1d4091b2a98414ec71 /gdb
parent6ffb22423804c5646441685ca189c7d087df1ed7 (diff)
downloadgdb-bdea3a92b7a2c527ba40aa646d669c2c338f0a92.zip
gdb-bdea3a92b7a2c527ba40aa646d669c2c338f0a92.tar.gz
gdb-bdea3a92b7a2c527ba40aa646d669c2c338f0a92.tar.bz2
* gdb.base/pending.exp: Use gdb_run_cmd to start the program
instead of a bare "run".
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/pending.exp5
2 files changed, 9 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index b6d9c79..a8696cc 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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.
diff --git a/gdb/testsuite/gdb.base/pending.exp b/gdb/testsuite/gdb.base/pending.exp
index 1227416..badb003 100644
--- a/gdb/testsuite/gdb.base/pending.exp
+++ b/gdb/testsuite/gdb.base/pending.exp
@@ -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)"