Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: gdb/testsuite/gdb.dwarf2/dw2-noloc.exp

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « gdb/testsuite/gdb.dwarf2/dw2-namespaceless-anonymous.exp ('k') | gdb/testsuite/gdb.dwarf2/dw2-objfile-overlap.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698