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

Side by Side Diff: gdb/testsuite/gdb.mi/mi2-until.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/mi2-syn-frame.exp ('k') | gdb/testsuite/gdb.mi/mi2-var-block.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 1999-2001, 2003, 2005, 2007-2012 Free Software Foundation, 1 # Copyright 1999-2001, 2003, 2005, 2007-2012 Free Software Foundation,
2 # Inc. 2 # Inc.
3 3
4 # This program is free software; you can redistribute it and/or modify 4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by 5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 3 of the License, or 6 # the Free Software Foundation; either version 3 of the License, or
7 # (at your option) any later version. 7 # (at your option) any later version.
8 # 8 #
9 # This program is distributed in the hope that it will be useful, 9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 13 matching lines...) Expand all
24 # 24 #
25 25
26 load_lib mi-support.exp 26 load_lib mi-support.exp
27 set MIFLAGS "-i=mi2" 27 set MIFLAGS "-i=mi2"
28 28
29 gdb_exit 29 gdb_exit
30 if [mi_gdb_start] { 30 if [mi_gdb_start] {
31 continue 31 continue
32 } 32 }
33 33
34 set testfile "until" 34 standard_testfile until.c
35 set srcfile ${testfile}.c 35
36 set binfile ${objdir}/${subdir}/${testfile} 36 if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb ug}] != "" } {
37 if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb ug additional_flags=-DFAKEARGV}] != "" } {
38 untested mi2-until.exp 37 untested mi2-until.exp
39 return -1 38 return -1
40 } 39 }
41 40
42 mi_delete_breakpoints 41 mi_delete_breakpoints
43 mi_gdb_reinitialize_dir $srcdir/$subdir 42 mi_gdb_reinitialize_dir $srcdir/$subdir
44 mi_gdb_reinitialize_dir $srcdir/$subdir 43 mi_gdb_reinitialize_dir $srcdir/$subdir
45 mi_gdb_load ${binfile} 44 mi_gdb_load ${binfile}
46 45
47 proc test_running_to_foo {} { 46 proc test_running_to_foo {} {
(...skipping 28 matching lines...) Expand all
76 # This is supposed to NOT stop at line 25. It stops right after foo is over. 75 # This is supposed to NOT stop at line 25. It stops right after foo is over.
77 mi_execute_to "exec-until until.c:25" "location-reached" "main" "" ".*until. c" "(23|24)" ""\ 76 mi_execute_to "exec-until until.c:25" "location-reached" "main" "" ".*until. c" "(23|24)" ""\
78 "until after current function" 77 "until after current function"
79 } 78 }
80 79
81 test_running_to_foo 80 test_running_to_foo
82 test_until 81 test_until
83 82
84 mi_gdb_exit 83 mi_gdb_exit
85 return 0 84 return 0
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.mi/mi2-syn-frame.exp ('k') | gdb/testsuite/gdb.mi/mi2-var-block.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698