mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-03 19:36:46 +08:00
* gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
spaces/tabs in regular expressions since they might not be there.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2006-07-08 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
|
* gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
|
||||||
|
spaces/tabs in regular expressions since they might not be there.
|
||||||
|
|
||||||
2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
|
2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
|
||||||
|
|
||||||
* gdb.base/ifelse.exp: New file.
|
* gdb.base/ifelse.exp: New file.
|
||||||
|
@ -63,7 +63,7 @@ proc test_stepi {function } {
|
|||||||
# Extra check to make sure we stopped on the FP branch instruction.
|
# Extra check to make sure we stopped on the FP branch instruction.
|
||||||
|
|
||||||
gdb_test "x /i \$pc" \
|
gdb_test "x /i \$pc" \
|
||||||
"0x\[0-9a-fA-F\]+ <.*>:\[ \t\]+fb$function\[ \t\]+.*" \
|
"0x\[0-9a-fA-F\]+ <.*>:\[ \t\]+fb$function.*" \
|
||||||
"Check breakpoint on fb$function instruction (first call)"
|
"Check breakpoint on fb$function instruction (first call)"
|
||||||
|
|
||||||
# Step test, followed by the check that we landed on the expected
|
# Step test, followed by the check that we landed on the expected
|
||||||
@ -75,7 +75,7 @@ proc test_stepi {function } {
|
|||||||
"stepi on fb$function (first call)"
|
"stepi on fb$function (first call)"
|
||||||
|
|
||||||
gdb_test "x /i \$pc" \
|
gdb_test "x /i \$pc" \
|
||||||
"0x\[0-9a-fA-F\]+ <.*>:\[ \t\]+ret\[ \t\]+.*" \
|
"0x\[0-9a-fA-F\]+ <.*>:\[ \t\]+ret.*" \
|
||||||
"Check stepi over fb$function stopped on ret"
|
"Check stepi over fb$function stopped on ret"
|
||||||
|
|
||||||
# Continue again. FUNCTION should be called a second time, this time
|
# Continue again. FUNCTION should be called a second time, this time
|
||||||
@ -88,7 +88,7 @@ proc test_stepi {function } {
|
|||||||
# Extra check to make sure we stopped on the FP branch instruction.
|
# Extra check to make sure we stopped on the FP branch instruction.
|
||||||
|
|
||||||
gdb_test "x /i \$pc" \
|
gdb_test "x /i \$pc" \
|
||||||
"0x\[0-9a-fA-F\]+ <.*>:\[ \t\]+fb$function\[ \t\]+.*" \
|
"0x\[0-9a-fA-F\]+ <.*>:\[ \t\]+fb$function.*" \
|
||||||
"Check breakpoint on fb$function instruction (second call)"
|
"Check breakpoint on fb$function instruction (second call)"
|
||||||
|
|
||||||
# Step test, branch should not be taken.
|
# Step test, branch should not be taken.
|
||||||
@ -100,7 +100,7 @@ proc test_stepi {function } {
|
|||||||
# Extra check to verify that we landed on the instruction we expected.
|
# Extra check to verify that we landed on the instruction we expected.
|
||||||
|
|
||||||
gdb_test "x /i \$pc" \
|
gdb_test "x /i \$pc" \
|
||||||
"0x\[0-9a-fA-F\]+ <.*>:\[ \t\]+fneg\[ \t\]+.*" \
|
"0x\[0-9a-fA-F\]+ <.*>:\[ \t\]+fneg.*" \
|
||||||
"Check stepi over fb$function stopped on fneg instruction"
|
"Check stepi over fb$function stopped on fneg instruction"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user