mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-29 08:24:05 +08:00
Make gdb.base/shlib-call.exp use gdb_test_stdio
gdb/testsuite/ChangeLog: 2015-07-29 Pedro Alves <palves@redhat.com> * gdb.base/shlib-call.exp: Use gdb_test_stdio.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2015-07-29 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
|
* gdb.base/shlib-call.exp: Use gdb_test_stdio.
|
||||||
|
|
||||||
2015-07-29 Pedro Alves <palves@redhat.com>
|
2015-07-29 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
* gdb.base/ending-run.exp: Use gdb_test_stdio.
|
* gdb.base/ending-run.exp: Use gdb_test_stdio.
|
||||||
|
@ -79,8 +79,9 @@ gdb_test "print g" "\[0-9\]* = 1" "print g"
|
|||||||
|
|
||||||
#step -over
|
#step -over
|
||||||
if ![gdb_skip_stdio_test "next over shr1"] {
|
if ![gdb_skip_stdio_test "next over shr1"] {
|
||||||
gdb_test "next" \
|
gdb_test_stdio "next" \
|
||||||
"address of sgs is $hex.*g = shr2\\(g\\);" \
|
"address of sgs is $hex" \
|
||||||
|
"g = shr2\\(g\\);" \
|
||||||
"next over shr1"
|
"next over shr1"
|
||||||
} else {
|
} else {
|
||||||
gdb_test "next" ".*" ""
|
gdb_test "next" ".*" ""
|
||||||
@ -92,15 +93,17 @@ gdb_test "print g" "\[0-9\]* = 2" "print g"
|
|||||||
|
|
||||||
#print shr1(1)
|
#print shr1(1)
|
||||||
if ![gdb_skip_stdio_test "print shr1(1)"] {
|
if ![gdb_skip_stdio_test "print shr1(1)"] {
|
||||||
gdb_test "print shr1(1)" \
|
gdb_test_stdio "print shr1(1)" \
|
||||||
"address of sgs is $hex.*\[0-9\]* = 2" \
|
"address of sgs is $hex" \
|
||||||
|
"\[0-9\]* = 2" \
|
||||||
"print shr1(1)"
|
"print shr1(1)"
|
||||||
}
|
}
|
||||||
|
|
||||||
#print shr1(g)
|
#print shr1(g)
|
||||||
if ![gdb_skip_stdio_test "print shr1(g)"] {
|
if ![gdb_skip_stdio_test "print shr1(g)"] {
|
||||||
gdb_test "print shr1(g)" \
|
gdb_test_stdio "print shr1(g)" \
|
||||||
"address of sgs is $hex.*\[0-9\]* = 4" \
|
"address of sgs is $hex" \
|
||||||
|
"\[0-9\]* = 4" \
|
||||||
"print shr1(g)"
|
"print shr1(g)"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -117,8 +120,9 @@ gdb_test "continue" \
|
|||||||
|
|
||||||
#print shr1(1)
|
#print shr1(1)
|
||||||
if ![gdb_skip_stdio_test "print shr1(1) 2nd time"] {
|
if ![gdb_skip_stdio_test "print shr1(1) 2nd time"] {
|
||||||
gdb_test "print shr1(1)" \
|
gdb_test_stdio "print shr1(1)" \
|
||||||
"address of sgs is $hex.*\[0-9\]* = 2" \
|
"address of sgs is $hex" \
|
||||||
|
"\[0-9\]* = 2" \
|
||||||
"print shr1(1) 2nd time"
|
"print shr1(1) 2nd time"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user