mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-12 03:43:33 +08:00
Fix kfail patterns in inline-locals.exp
PR gdb/27742 points out that my recent change to print_variable_and_value caused a regression in inline-locals.exp. I can't reproduce this, but I came up with this patch based on the output shown in the bug. gdb/testsuite/ChangeLog 2021-04-19 Tom Tromey <tromey@adacore.com> PR gdb/27742: * gdb.opt/inline-locals.exp: Update kfail patterns.
This commit is contained in:
parent
9a8041fd94
commit
392e0bcc0e
@ -1,3 +1,8 @@
|
||||
2021-04-19 Tom Tromey <tromey@adacore.com>
|
||||
|
||||
PR gdb/27742:
|
||||
* gdb.opt/inline-locals.exp: Update kfail patterns.
|
||||
|
||||
2021-04-17 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* gdb.dwarf2/gdb-index-nodebug.exp: New file.
|
||||
|
@ -45,7 +45,7 @@ if { ! $no_frames } {
|
||||
gdb_test "info frame" ".*inlined into frame.*" "func1 inlined 2"
|
||||
set pass_re "array = \\{0 <repeats 64 times>\\}"
|
||||
set kfail_re [multi_line $pass_re \
|
||||
"array = {<optimized out> <repeats 64 times>}"]
|
||||
"array = <optimized out>"]
|
||||
gdb_test_multiple "info locals" "info locals above bar 2" {
|
||||
-re -wrap $pass_re {
|
||||
pass $gdb_test_name
|
||||
@ -94,7 +94,7 @@ if { ! $no_frames } {
|
||||
gdb_test "info frame" ".*inlined into frame.*" "func1 inlined 3"
|
||||
set pass_re "array = {$decimal, \[^\r\n\]*}"
|
||||
set kfail_re [multi_line $pass_re \
|
||||
"array = {<optimized out> <repeats 64 times>}"]
|
||||
"array = <optimized out>"]
|
||||
gdb_test_multiple "info locals" "info locals above bar 3" {
|
||||
-re -wrap $pass_re {
|
||||
pass $gdb_test_name
|
||||
|
Loading…
Reference in New Issue
Block a user