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

Side by Side Diff: gdb/testsuite/gdb.mi/mi-nonstop.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-logging.exp ('k') | gdb/testsuite/gdb.mi/mi-nonstop-exit.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-2005, 2007-2012 Free Software Foundation, Inc. 1 # Copyright 2002-2005, 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 21 matching lines...) Expand all
32 # If a resume fails, assume non-stop is broken or unsupported 32 # If a resume fails, assume non-stop is broken or unsupported
33 # for this target. We have logged a FAIL or UNSUPPORTED; skip 33 # for this target. We have logged a FAIL or UNSUPPORTED; skip
34 # the remaining tests to limit timeouts. 34 # the remaining tests to limit timeouts.
35 return -code continue 35 return -code continue
36 } 36 }
37 } 37 }
38 38
39 # 39 #
40 # Start here 40 # Start here
41 # 41 #
42 set testfile "non-stop" 42 standard_testfile non-stop.c
43 set srcfile "$testfile.c"
44 set binfile "$objdir/$subdir/mi-$testfile"
45 43
46 set options [list debug incdir=$objdir] 44 set options [list debug]
47 if {[gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile executable $option s] != "" } { 45 if {[gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile executable $option s] != "" } {
48 return -1 46 return -1
49 } 47 }
50 48
51 mi_gdb_reinitialize_dir $srcdir/$subdir 49 mi_gdb_reinitialize_dir $srcdir/$subdir
52 mi_gdb_load $binfile 50 mi_gdb_load $binfile
53 51
54 mi_gdb_test "-gdb-set non-stop 1" ".*" 52 mi_gdb_test "-gdb-set non-stop 1" ".*"
55 mi_gdb_test "-gdb-set target-async 1" ".*" 53 mi_gdb_test "-gdb-set target-async 1" ".*"
56 mi_detect_async 54 mi_detect_async
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 } 145 }
148 } 146 }
149 } 147 }
150 148
151 # See that we can still poke other threads. 149 # See that we can still poke other threads.
152 mi_gdb_test "-stack-list-frames --thread 3" \ 150 mi_gdb_test "-stack-list-frames --thread 3" \
153 "\\^done,stack=\\\[frame={level=\"0\",addr=\".*\",func=\"break_at_me\".*" \ 151 "\\^done,stack=\\\[frame={level=\"0\",addr=\".*\",func=\"break_at_me\".*" \
154 "stacktrace of stopped thread" 152 "stacktrace of stopped thread"
155 153
156 mi_gdb_exit 154 mi_gdb_exit
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.mi/mi-logging.exp ('k') | gdb/testsuite/gdb.mi/mi-nonstop-exit.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698