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

Unified Diff: gdb/testsuite/gdb.reverse/solib-reverse.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.reverse/solib-precsave.exp ('k') | gdb/testsuite/gdb.reverse/step-precsave.exp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/testsuite/gdb.reverse/solib-reverse.exp
diff --git a/gdb/testsuite/gdb.reverse/solib-reverse.exp b/gdb/testsuite/gdb.reverse/solib-reverse.exp
index 8d000f30c2af26f4173c74d6cbdca63326a5fbb8..d878a7f6220c2dcbc096c539e34227105e6742a8 100644
--- a/gdb/testsuite/gdb.reverse/solib-reverse.exp
+++ b/gdb/testsuite/gdb.reverse/solib-reverse.exp
@@ -20,14 +20,12 @@ if ![supports_reverse] {
return
}
-set testfile "solib-reverse"
-set srcfile ${testfile}.c
+standard_testfile
set libfile "shr2"
set libsrc ${libfile}.c
-set library ${objdir}/${subdir}/${libfile}.sl
-set binfile ${objdir}/${subdir}/${testfile}
+set library [standard_output_file ${libfile}.sl]
-if [get_compiler_info ${binfile}] {
+if [get_compiler_info] {
return -1
}
@@ -47,6 +45,10 @@ if { [gdb_compile ${srcdir}/${subdir}/${srcfile} ${binfile} executable $exec_opt
gdb_exit
gdb_start
+
+# Clear it to never find any separate system debug infos.
+gdb_test_no_output "set debug-file-directory"
+
gdb_reinitialize_dir $srcdir/$subdir
gdb_load ${binfile}
« no previous file with comments | « gdb/testsuite/gdb.reverse/solib-precsave.exp ('k') | gdb/testsuite/gdb.reverse/step-precsave.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698