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

Unified Diff: gdb/testsuite/gdb.threads/non-ldr-exc-1.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.threads/no-unwaited-for-left.exp ('k') | gdb/testsuite/gdb.threads/non-ldr-exc-2.exp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/testsuite/gdb.threads/non-ldr-exc-1.exp
diff --git a/gdb/testsuite/gdb.threads/non-ldr-exc-1.exp b/gdb/testsuite/gdb.threads/non-ldr-exc-1.exp
index 8a14129dacd811962f4b85cd2a0f72b84266362b..2d0b802398d06eff86f781446aec7f9b8bd251c1 100644
--- a/gdb/testsuite/gdb.threads/non-ldr-exc-1.exp
+++ b/gdb/testsuite/gdb.threads/non-ldr-exc-1.exp
@@ -21,26 +21,19 @@ if { [is_remote target] } then {
continue
}
-set testfile "non-ldr-exc-1"
-set srcfile ${testfile}.c
+standard_testfile
set executable ${testfile}
-set binfile ${objdir}/${subdir}/${executable}
if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
return -1
}
-proc do_test { lock_sched } {
- global pf_prefix
+proc do_test { lock_sched } { with_test_prefix "lock-sched$lock_sched" {
global executable
- set save_pf_prefix $pf_prefix
- lappend pf_prefix "lock-sched$lock_sched:"
-
clean_restart ${executable}
if ![runto_main] {
- set pf_prefix $save_pf_prefix
return -1
}
@@ -57,9 +50,7 @@ proc do_test { lock_sched } {
gdb_test "continue" \
".*is executing new program.*Breakpoint 1, main.* at .*" \
"continue over exec"
-
- set pf_prefix $save_pf_prefix
-}
+}}
do_test 0
do_test 1
« no previous file with comments | « gdb/testsuite/gdb.threads/no-unwaited-for-left.exp ('k') | gdb/testsuite/gdb.threads/non-ldr-exc-2.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698