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

Side by Side Diff: gdb/testsuite/gdb.mi/mi-nsintrall.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/mi-ns-stale-regcache.exp ('k') | gdb/testsuite/gdb.mi/mi-nsmoribund.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 2008-2012 Free Software Foundation, Inc. 1 # Copyright 2008-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 11 matching lines...) Expand all
22 set MIFLAGS "-i=mi" 22 set MIFLAGS "-i=mi"
23 23
24 gdb_exit 24 gdb_exit
25 if {[mi_gdb_start]} { 25 if {[mi_gdb_start]} {
26 continue 26 continue
27 } 27 }
28 28
29 # 29 #
30 # Start here 30 # Start here
31 # 31 #
32 set testfile "nsintrall" 32 standard_testfile nsintrall.c
33 set srcfile "$testfile.c"
34 set binfile "$objdir/$subdir/mi-$testfile"
35 33
36 set options [list debug incdir=$objdir] 34 set options [list debug]
37 if {[gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile executable $option s] != "" } { 35 if {[gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile executable $option s] != "" } {
38 return -1 36 return -1
39 } 37 }
40 38
41 mi_gdb_reinitialize_dir $srcdir/$subdir 39 mi_gdb_reinitialize_dir $srcdir/$subdir
42 mi_gdb_load $binfile 40 mi_gdb_load $binfile
43 41
44 mi_gdb_test "-gdb-set non-stop 1" ".*" 42 mi_gdb_test "-gdb-set non-stop 1" ".*"
45 mi_gdb_test "-gdb-set target-async 1" ".*" 43 mi_gdb_test "-gdb-set target-async 1" ".*"
46 mi_detect_async 44 mi_detect_async
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 # resume all threads, and check that no thread is spuriously left interrupted 90 # resume all threads, and check that no thread is spuriously left interrupted
93 mi_gdb_test "-exec-continue --all" "\[^\n\]*\r\n$running_re" \ 91 mi_gdb_test "-exec-continue --all" "\[^\n\]*\r\n$running_re" \
94 "resume all after interrupting" 92 "resume all after interrupting"
95 93
96 sleep 1 94 sleep 1
97 mi_check_thread_states \ 95 mi_check_thread_states \
98 {"running" "running" "running" "running" "running" "running"} \ 96 {"running" "running" "running" "running" "running" "running"} \
99 "thread state, resume all after interrupting" 97 "thread state, resume all after interrupting"
100 98
101 mi_gdb_exit 99 mi_gdb_exit
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.mi/mi-ns-stale-regcache.exp ('k') | gdb/testsuite/gdb.mi/mi-nsmoribund.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698