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

Unified Diff: gdb/testsuite/gdb.dwarf2/dw2-linkage-name-trust.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-intermix.exp ('k') | gdb/testsuite/gdb.dwarf2/dw2-minsym-in-cu.S » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/testsuite/gdb.dwarf2/dw2-linkage-name-trust.exp
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-linkage-name-trust.exp b/gdb/testsuite/gdb.dwarf2/dw2-linkage-name-trust.exp
index 42a5f451cdb45804de8c68f0b315bccb13b5c68d..785744919db10dfd7e4411f95bb7386769a15e11 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-linkage-name-trust.exp
+++ b/gdb/testsuite/gdb.dwarf2/dw2-linkage-name-trust.exp
@@ -25,17 +25,15 @@ if {![dwarf2_support]} {
return 0
}
-set testfile "dw2-linkage-name-trust"
+standard_testfile .S
set executable ${testfile}
-set binfile ${objdir}/${subdir}/${executable}
-if { [gdb_compile ${srcdir}/${subdir}/${testfile}-main.cc "${objdir}/${subdir}/${testfile}-main.o" object {c++ debug}] != ""
- || [gdb_compile "${srcdir}/${subdir}/${testfile}.S" "${objdir}/${subdir}/${testfile}.o" object {}] != ""
- || [gdb_compile "${objdir}/${subdir}/${testfile}-main.o ${objdir}/${subdir}/${testfile}.o" "${binfile}" executable {c++}] != "" } {
+
+if {[prepare_for_testing_full $testfile.exp \
+ [list $testfile c++ $testfile-main.cc {c++ debug} \
+ $srcfile {}]]} {
return -1
}
-clean_restart $executable
-
if ![runto_main] then {
return -1
}
« no previous file with comments | « gdb/testsuite/gdb.dwarf2/dw2-intermix.exp ('k') | gdb/testsuite/gdb.dwarf2/dw2-minsym-in-cu.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698