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

Side by Side Diff: gdb/testsuite/gdb.mi/gdb669.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 unified diff | Download patch
« no previous file with comments | « gdb/testsuite/gdb.mi/gdb2549.exp ('k') | gdb/testsuite/gdb.mi/gdb701.exp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2002-2004, 2007-2012 Free Software Foundation, Inc. 1 # Copyright 2002-2004, 2007-2012 Free Software Foundation, Inc.
2 2
3 # This program is free software; you can redistribute it and/or modify 3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by 4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 3 of the License, or 5 # the Free Software Foundation; either version 3 of the License, or
6 # (at your option) any later version. 6 # (at your option) any later version.
7 # 7 #
8 # This program is distributed in the hope that it will be useful, 8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of 9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
(...skipping 10 matching lines...) Expand all
21 set MIFLAGS "-i=mi" 21 set MIFLAGS "-i=mi"
22 22
23 gdb_exit 23 gdb_exit
24 if {[mi_gdb_start]} { 24 if {[mi_gdb_start]} {
25 continue 25 continue
26 } 26 }
27 27
28 # 28 #
29 # Start here 29 # Start here
30 # 30 #
31 set testfile "pthreads" 31 standard_testfile pthreads.c
32 set srcfile "$testfile.c"
33 set binfile "$objdir/$subdir/gdb669-$testfile"
34 32
35 set options [list debug incdir=$objdir] 33 set options [list debug]
36 if {[gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile executable $option s] != "" } { 34 if {[gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile executable $option s] != "" } {
37 return -1 35 return -1
38 } 36 }
39 37
40 mi_run_to_main 38 mi_run_to_main
41 check_mi_and_console_threads "at main" 39 check_mi_and_console_threads "at main"
42 40
43 for {set i 0} {$i < 4} {incr i} { 41 for {set i 0} {$i < 4} {incr i} {
44 mi_next "next, try $i" 42 mi_next "next, try $i"
45 check_mi_and_console_threads "try $i" 43 check_mi_and_console_threads "try $i"
46 } 44 }
47 45
48 mi_gdb_exit 46 mi_gdb_exit
49 47
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.mi/gdb2549.exp ('k') | gdb/testsuite/gdb.mi/gdb701.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698