aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/msym-bp-shl.exp
diff options
context:
space:
mode:
authorLuis Machado <luis.machado@linaro.org>2020-10-14 19:44:03 -0300
committerLuis Machado <luis.machado@linaro.org>2020-10-22 11:33:18 -0300
commit557fc2572036cf01c0f5303d044e4d691705fcd1 (patch)
tree41574e0c9b81b93a809dfbe00d94cc26519788e0 /gdb/testsuite/gdb.base/msym-bp-shl.exp
parent6278c6a66379c40d2d91107a2101408ec4ca0673 (diff)
downloadgdb-557fc2572036cf01c0f5303d044e4d691705fcd1.zip
gdb-557fc2572036cf01c0f5303d044e4d691705fcd1.tar.gz
gdb-557fc2572036cf01c0f5303d044e4d691705fcd1.tar.bz2
Fix gdb.base/msym*.exp failures
AArch64 generates functions without a prologue for these two testcases, therefore we shouldn't expect the function location to be displayed with an offset. gdb/testsuite/ChangeLog: 2020-10-22 Luis Machado <luis.machado@linaro.org> * gdb.base/msym-bp-shl.exp (test_break): Adjust pattern to not expected an offset from the function. * gdb.base/msym-bp.exp (test): Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.base/msym-bp-shl.exp')
-rw-r--r--gdb/testsuite/gdb.base/msym-bp-shl.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.base/msym-bp-shl.exp b/gdb/testsuite/gdb.base/msym-bp-shl.exp
index fee1d72..0d860f9 100644
--- a/gdb/testsuite/gdb.base/msym-bp-shl.exp
+++ b/gdb/testsuite/gdb.base/msym-bp-shl.exp
@@ -72,7 +72,7 @@ proc test {debug} {
} else {
test_info_break_2 \
"<foo@plt.*>" \
- "<foo\\+$decimal>"
+ "<foo(\\+$decimal)?>"
}
}
@@ -96,8 +96,8 @@ proc test {debug} {
"in foo at .*msym-bp-shl-lib.c:$decimal"
} else {
test_info_break_2 \
- "<foo\\+$decimal>" \
- "<foo\\+$decimal>"
+ "<foo(\\+$decimal)?>" \
+ "<foo(\\+$decimal)?>"
}
}
}