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

Side by Side Diff: gdb/testsuite/gdb.mi/mi-inheritance-syntax-error.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-info-os.exp ('k') | gdb/testsuite/gdb.mi/mi-logging.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 2011-2012 Free Software Foundation, Inc. 1 # Copyright 2011-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
11 # GNU General Public License for more details. 11 # GNU General Public License for more details.
12 # 12 #
13 # You should have received a copy of the GNU General Public License 13 # You should have received a copy of the GNU General Public License
14 # along with this program. If not, see <http://www.gnu.org/licenses/>. 14 # along with this program. If not, see <http://www.gnu.org/licenses/>.
15 15
16 if { [skip_cplus_tests] } { continue } 16 if { [skip_cplus_tests] } { continue }
17 17
18 load_lib mi-support.exp 18 load_lib mi-support.exp
19 set MIFLAGS "-i=mi" 19 set MIFLAGS "-i=mi"
20 20
21 gdb_exit 21 gdb_exit
22 if [mi_gdb_start] { 22 if [mi_gdb_start] {
23 continue 23 continue
24 } 24 }
25 25
26 set testfile mi-inheritance-syntax-error 26 standard_testfile .cc
27 set srcfile "$testfile.cc"
28 set binfile $objdir/$subdir/$testfile
29 27
30 if [get_compiler_info ${binfile} "c++"] { 28 if [get_compiler_info "c++"] {
31 return -1; 29 return -1;
32 } 30 }
33 31
34 if {[gdb_compile $srcdir/$subdir/$srcfile $binfile executable {debug c++}] != "" } { 32 if {[gdb_compile $srcdir/$subdir/$srcfile $binfile executable {debug c++}] != "" } {
35 untested mi-inheritance-syntax-error.exp 33 untested mi-inheritance-syntax-error.exp
36 return -1 34 return -1
37 } 35 }
38 36
39 # Test that children of derived classes are given the proper 37 # Test that children of derived classes are given the proper
40 # path by -var-info-path-expression 38 # path by -var-info-path-expression
(...skipping 22 matching lines...) Expand all
63 verbose "var-info-path-expression returned $cmd_output" 2 61 verbose "var-info-path-expression returned $cmd_output" 2
64 verbose "Using $path for data-evaluate-expression" 2 62 verbose "Using $path for data-evaluate-expression" 2
65 63
66 64
67 mi_gdb_test "-data-evaluate-expression \"$path\"" \ 65 mi_gdb_test "-data-evaluate-expression \"$path\"" \
68 "\\^done,value=\"\{a = 5\}\"" \ 66 "\\^done,value=\"\{a = 5\}\"" \
69 "-data-evaluate-expression $path" 67 "-data-evaluate-expression $path"
70 68
71 mi_gdb_exit 69 mi_gdb_exit
72 return 0 70 return 0
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.mi/mi-info-os.exp ('k') | gdb/testsuite/gdb.mi/mi-logging.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698