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

Side by Side Diff: gdb/testsuite/gdb.mi/mi-ns-stale-regcache.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-nonstop-exit.exp ('k') | gdb/testsuite/gdb.mi/mi-nsintrall.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 23 matching lines...) Expand all
34 # If a resume fails, assume non-stop is broken or unsupported 34 # If a resume fails, assume non-stop is broken or unsupported
35 # for this target. We have logged a FAIL or UNSUPPORTED; skip 35 # for this target. We have logged a FAIL or UNSUPPORTED; skip
36 # the remaining tests to limit timeouts. 36 # the remaining tests to limit timeouts.
37 return -code continue 37 return -code continue
38 } 38 }
39 } 39 }
40 40
41 # 41 #
42 # Start here 42 # Start here
43 # 43 #
44 set testfile "ns-stale-regcache" 44 standard_testfile ns-stale-regcache.c
45 set srcfile "$testfile.c"
46 set binfile "$objdir/$subdir/mi-$testfile"
47 45
48 set options [list debug incdir=$objdir] 46 set options [list debug]
49 if {[gdb_compile "$srcdir/$subdir/$srcfile" \ 47 if {[gdb_compile "$srcdir/$subdir/$srcfile" \
50 $binfile executable $options] != "" } { 48 $binfile executable $options] != "" } {
51 return -1 49 return -1
52 } 50 }
53 51
54 mi_gdb_reinitialize_dir $srcdir/$subdir 52 mi_gdb_reinitialize_dir $srcdir/$subdir
55 mi_gdb_load $binfile 53 mi_gdb_load $binfile
56 54
57 mi_gdb_test "-gdb-set non-stop 1" ".*" 55 mi_gdb_test "-gdb-set non-stop 1" ".*"
58 mi_gdb_test "-gdb-set target-async 1" ".*" 56 mi_gdb_test "-gdb-set target-async 1" ".*"
(...skipping 11 matching lines...) Expand all
70 "\\^error,msg=\".*\"" "no stale register cache of resumed thread" 68 "\\^error,msg=\".*\"" "no stale register cache of resumed thread"
71 69
72 mi_gdb_test "-stack-info-frame" \ 70 mi_gdb_test "-stack-info-frame" \
73 "\\^error,msg=\".*\"" "no stale frame info of resumed thread" 71 "\\^error,msg=\".*\"" "no stale frame info of resumed thread"
74 72
75 # Check that the thread is still running. If the above tests passed, 73 # Check that the thread is still running. If the above tests passed,
76 # we want it to be for the right reasons. 74 # we want it to be for the right reasons.
77 mi_check_thread_states {"running"} "main thread still running" 75 mi_check_thread_states {"running"} "main thread still running"
78 76
79 mi_gdb_exit 77 mi_gdb_exit
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.mi/mi-nonstop-exit.exp ('k') | gdb/testsuite/gdb.mi/mi-nsintrall.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698