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.
This commit is contained in:
Luis Machado
2020-10-14 19:44:03 -03:00
parent 6278c6a663
commit 557fc25720
3 changed files with 11 additions and 5 deletions

View File

@ -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.

View File

@ -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)?>"
}
}
}

View File

@ -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)?>"
}
}
}