| Index: gdb/testsuite/gdb.dwarf2/dw2-noloc.exp
|
| diff --git a/gdb/testsuite/gdb.dwarf2/dw2-noloc.exp b/gdb/testsuite/gdb.dwarf2/dw2-noloc.exp
|
| index 9b29b14955d75a0353f53e12afd6b17b9e2fde4b..9a6cb2a01997cc7977f53e444764892d0c6f76a6 100644
|
| --- a/gdb/testsuite/gdb.dwarf2/dw2-noloc.exp
|
| +++ b/gdb/testsuite/gdb.dwarf2/dw2-noloc.exp
|
| @@ -33,10 +33,7 @@ if { [prepare_for_testing dw2-noloc.exp "dw2-noloc" {dw2-noloc-main.c dw2-noloc.
|
| # unresolvable: .symtab entry does not exist for this symbol name.
|
| # DW_AT_declaration is not present in any of these DIEs.
|
|
|
| -proc file_symbols {type} {
|
| - global pf_prefix
|
| - set old_prefix $pf_prefix
|
| - lappend pf_prefix "$type:"
|
| +proc file_symbols {type} { with_test_prefix "$type" {
|
|
|
| global gdb_prompt
|
|
|
| @@ -78,9 +75,7 @@ proc file_symbols {type} {
|
| # As DW_AT_declaration is not present in this DIE
|
| # it should print <optimized out>. As usefulness of such DIE is not
|
| # clear its resolution is not being tested.
|
| -
|
| - set pf_prefix $old_prefix
|
| -}
|
| +}}
|
|
|
| file_symbols no-run
|
|
|
|
|