* gdb.base/pending.exp: Use gdb_run_cmd to start the program

instead of a bare "run".
This commit is contained in:
Nathan Froyd 2009-11-13 20:01:07 +00:00
parent 6ffb224238
commit bdea3a92b7
2 changed files with 9 additions and 1 deletions

View 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.

View 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)"