diff options
author | Randolph Chung <tausq@debian.org> | 2004-06-07 15:24:44 +0000 |
---|---|---|
committer | Randolph Chung <tausq@debian.org> | 2004-06-07 15:24:44 +0000 |
commit | 55264cb45f7440b284160602a692fdb07b0a27b3 (patch) | |
tree | 641e262bfab593a031fbb709f05c1d72b1e74450 /gdb | |
parent | 9a727a3c4fd3be05fc8224bec1a8c3ea5f600ca2 (diff) | |
download | gdb-55264cb45f7440b284160602a692fdb07b0a27b3.zip gdb-55264cb45f7440b284160602a692fdb07b0a27b3.tar.gz gdb-55264cb45f7440b284160602a692fdb07b0a27b3.tar.bz2 |
2004-06-07 Randolph Chung <tausq@debian.org>
* gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
has started.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/shlib-call.exp | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 0590ee9..20f5d54 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-06-07 Randolph Chung <tausq@debian.org> + + * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior + has started. + 2004-06-04 Roland McGrath <roland@redhat.com> Fix PR gdb/1647. diff --git a/gdb/testsuite/gdb.base/shlib-call.exp b/gdb/testsuite/gdb.base/shlib-call.exp index 4205253..26a6556 100644 --- a/gdb/testsuite/gdb.base/shlib-call.exp +++ b/gdb/testsuite/gdb.base/shlib-call.exp @@ -291,17 +291,17 @@ send_gdb "set width 0\n" ; gdb_expect -re "$gdb_prompt $" # PR's 16495, 18213 # test that we can re-set breakpoints in shared libraries -gdb_breakpoint "shr1" +gdb_breakpoint "shr1" "allow-pending" # FIXME: should not send "run" explicitly. Non-portable. if ![is_remote target] { - gdb_test "run" "Starting program:.*Breakpoint 1,.*" \ + gdb_test "run" "Starting program:.*Breakpoint .,.*" \ "run to bp in shared library" gdb_test "cont" ".*Program exited normally..*" - gdb_test "run" "Starting program:.*Breakpoint 1,.*" \ + gdb_test "run" "Starting program:.*Breakpoint .,.*" \ "re-run to bp in shared library (PR's 16495, 18213)" gdb_test "cont" ".*Program exited normally..*" |