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

Unified Diff: gdb/testsuite/gdb.dwarf2/dw2-empty-namespace.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
« no previous file with comments | « gdb/testsuite/gdb.dwarf2/dw2-double-set-die-type.exp ('k') | gdb/testsuite/gdb.dwarf2/dw2-empty-pc-range.S » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/testsuite/gdb.dwarf2/dw2-empty-namespace.exp
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-empty-namespace.exp b/gdb/testsuite/gdb.dwarf2/dw2-empty-namespace.exp
index 1fb5541f950ce97fb138b37c0f73487d413c6eb0..02f2fcf25ec146030159e649ec137132b7e8b163 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-empty-namespace.exp
+++ b/gdb/testsuite/gdb.dwarf2/dw2-empty-namespace.exp
@@ -21,15 +21,14 @@ if {![dwarf2_support]} {
return 0
}
-set testfile "dw2-empty-namespace"
-set srcfile ${testfile}.S
-set executable ${testfile}.x
+standard_testfile .S
-if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${objdir}/${subdir}/${executable}" object {nodebug}] != "" } {
+if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" $binfile \
+ object {nodebug}] != "" } {
return -1
}
-clean_restart $executable
+clean_restart $testfile
# `p var' below can work without identified DWARF DIE just based on its ELF symbol.
# Catch it here as `type = <data variable, no debug info>'.
« no previous file with comments | « gdb/testsuite/gdb.dwarf2/dw2-double-set-die-type.exp ('k') | gdb/testsuite/gdb.dwarf2/dw2-empty-pc-range.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698