2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
* lib/gdb.exp (gdb_breakpoint): Update query string to match new nquery format. * gdb.base/pending.exp: Ditto.
This commit is contained in:
parent
3457d66e5b
commit
9f27c60433
@ -1,3 +1,9 @@
|
|||||||
|
2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
|
||||||
|
|
||||||
|
* lib/gdb.exp (gdb_breakpoint): Update query string to match
|
||||||
|
new nquery format.
|
||||||
|
* gdb.base/pending.exp: Ditto.
|
||||||
|
|
||||||
2004-02-22 Mark Kettenis <kettenis@gnu.org>
|
2004-02-22 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
* configure.in: Run stabs tests on *BSD.
|
* configure.in: Run stabs tests on *BSD.
|
||||||
|
@ -111,7 +111,7 @@ if [target_info exists gdb_stub] {
|
|||||||
#
|
#
|
||||||
|
|
||||||
gdb_test_multiple "break pendfunc1" "set pending breakpoint" {
|
gdb_test_multiple "break pendfunc1" "set pending breakpoint" {
|
||||||
-re ".*Make breakpoint pending.*y or n. $" {
|
-re ".*Make breakpoint pending.*y or \\\[n\\\]. $" {
|
||||||
gdb_test "y" "Breakpoint.*pendfunc1.*pending." "set pending breakpoint"
|
gdb_test "y" "Breakpoint.*pendfunc1.*pending." "set pending breakpoint"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -142,7 +142,7 @@ gdb_test "info break" \
|
|||||||
# Test not setting a pending breakpoint
|
# Test not setting a pending breakpoint
|
||||||
#
|
#
|
||||||
gdb_test_multiple "break pendfunc2" "Don't set pending breakpoint" {
|
gdb_test_multiple "break pendfunc2" "Don't set pending breakpoint" {
|
||||||
-re ".*Make breakpoint pending.*y or n. $" {
|
-re ".*Make breakpoint pending.*y or \\\[n\\\]. $" {
|
||||||
gdb_test "n" "" "Don't set pending breakpoint"
|
gdb_test "n" "" "Don't set pending breakpoint"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -192,7 +192,7 @@ gdb_test "info break" \
|
|||||||
#
|
#
|
||||||
|
|
||||||
gdb_test_multiple "break pendshr.c:26 if x > 3" "Set pending breakpoint 2" {
|
gdb_test_multiple "break pendshr.c:26 if x > 3" "Set pending breakpoint 2" {
|
||||||
-re ".*Make breakpoint pending.*y or n. $" {
|
-re ".*Make breakpoint pending.*y or \\\[n\\\]. $" {
|
||||||
gdb_test "y" "Breakpoint.*pendshr.c:26.*pending." \
|
gdb_test "y" "Breakpoint.*pendshr.c:26.*pending." \
|
||||||
"Set pending breakpoint 2"
|
"Set pending breakpoint 2"
|
||||||
}
|
}
|
||||||
@ -247,7 +247,7 @@ gdb_breakpoint "main"
|
|||||||
# Set non-existent pending breakpoint
|
# Set non-existent pending breakpoint
|
||||||
#
|
#
|
||||||
gdb_test_multiple "break imaginary" "set imaginary pending breakpoint" {
|
gdb_test_multiple "break imaginary" "set imaginary pending breakpoint" {
|
||||||
-re ".*Make breakpoint pending.*y or n. $" {
|
-re ".*Make breakpoint pending.*y or \\\[n\\\]. $" {
|
||||||
gdb_test "y" "Breakpoint.*imaginary.*pending." \
|
gdb_test "y" "Breakpoint.*imaginary.*pending." \
|
||||||
"set imaginary pending breakpoint"
|
"set imaginary pending breakpoint"
|
||||||
}
|
}
|
||||||
|
@ -275,7 +275,7 @@ proc gdb_breakpoint { function } {
|
|||||||
-re "Breakpoint \[0-9\]* at .*: file .*, line $decimal.\r\n$gdb_prompt $" {}
|
-re "Breakpoint \[0-9\]* at .*: file .*, line $decimal.\r\n$gdb_prompt $" {}
|
||||||
-re "Breakpoint \[0-9\]*: file .*, line $decimal.\r\n$gdb_prompt $" {}
|
-re "Breakpoint \[0-9\]*: file .*, line $decimal.\r\n$gdb_prompt $" {}
|
||||||
-re "Breakpoint \[0-9\]* at .*$gdb_prompt $" {}
|
-re "Breakpoint \[0-9\]* at .*$gdb_prompt $" {}
|
||||||
-re "Make breakpoint pending.*y or n. $" {
|
-re "Make breakpoint pending.*y or \\\[n\\\]. $" {
|
||||||
send_gdb "n\n"
|
send_gdb "n\n"
|
||||||
exp_continue
|
exp_continue
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user