diff options
author | Luis Machado <luis.machado@linaro.org> | 2020-10-14 19:44:03 -0300 |
---|---|---|
committer | Luis Machado <luis.machado@linaro.org> | 2020-10-22 11:33:18 -0300 |
commit | 557fc2572036cf01c0f5303d044e4d691705fcd1 (patch) | |
tree | 41574e0c9b81b93a809dfbe00d94cc26519788e0 | |
parent | 6278c6a66379c40d2d91107a2101408ec4ca0673 (diff) | |
download | gdb-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.
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/msym-bp-shl.exp | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/msym-bp.exp | 4 |
3 files changed, 11 insertions, 5 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 19b423b..f6084b8 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +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. + 2020-10-22 Andrew Burgess <andrew.burgess@embecosm.com> * gdb.fortran/array-slices.exp: Add a new test. 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)?>" } } } diff --git a/gdb/testsuite/gdb.base/msym-bp.exp b/gdb/testsuite/gdb.base/msym-bp.exp index c4bef7c..6c39437 100644 --- a/gdb/testsuite/gdb.base/msym-bp.exp +++ b/gdb/testsuite/gdb.base/msym-bp.exp @@ -60,8 +60,8 @@ proc test {debug} { "in foo at .*msym-bp-2.c:$decimal" } else { test_info_break_2 \ - "<foo\\+$decimal>" \ - "<foo\\+$decimal>" + "<foo(\\+$decimal)?>" \ + "<foo(\\+$decimal)?>" } } } |