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

Side by Side Diff: gdb/testsuite/gdb.cp/ambiguous.exp

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 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.cp/abstract-origin.exp ('k') | gdb/testsuite/gdb.cp/annota2.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 1998-1999, 2003-2004, 2007-2012 Free Software Foundation, 1 # Copyright 1998-2013 Free Software Foundation, Inc.
2 # Inc.
3 2
4 # 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
5 # 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
6 # the Free Software Foundation; either version 3 of the License, or 5 # the Free Software Foundation; either version 3 of the License, or
7 # (at your option) any later version. 6 # (at your option) any later version.
8 # 7 #
9 # 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,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of 9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details. 11 # GNU General Public License for more details.
(...skipping 11 matching lines...) Expand all
24 # 23 #
25 # test running programs 24 # test running programs
26 # 25 #
27 26
28 27
29 if { [skip_cplus_tests] } { continue } 28 if { [skip_cplus_tests] } { continue }
30 29
31 standard_testfile .cc 30 standard_testfile .cc
32 31
33 if [get_compiler_info "c++"] { 32 if [get_compiler_info "c++"] {
34 return -1; 33 return -1
35 } 34 }
36 35
37 if { [test_compiler_info gcc-*] } then { continue } 36 if { [test_compiler_info gcc-*] } then { continue }
38 37
39 if {[prepare_for_testing $testfile.exp $testfile $srcfile {debug c++}]} { 38 if {[prepare_for_testing $testfile.exp $testfile $srcfile {debug c++}]} {
40 return -1 39 return -1
41 } 40 }
42 41
43 # 42 #
44 # set it up at a breakpoint so we can play with the variable values 43 # set it up at a breakpoint so we can play with the variable values
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 gdb_expect { 209 gdb_expect {
211 -re "warning: A1 ambiguous.*Use a cast to disambiguate.\r\n\\$\[0-9\]* = \{x = \[-\]*\[0-9\]*, y = \[-\]*\[0-9\]*\}\r\n$gdb_prompt $" { 210 -re "warning: A1 ambiguous.*Use a cast to disambiguate.\r\n\\$\[0-9\]* = \{x = \[-\]*\[0-9\]*, y = \[-\]*\[0-9\]*\}\r\n$gdb_prompt $" {
212 fail "print (A1)jva1v (ambiguity reported)" 211 fail "print (A1)jva1v (ambiguity reported)"
213 } 212 }
214 -re "\\$\[0-9\]* = \{x = \[-\]*\[0-9\]*, y = \[-\]*\[0-9\]*\}\r\n$gdb_prompt $" { pass "print (A1)jva1v" 213 -re "\\$\[0-9\]* = \{x = \[-\]*\[0-9\]*, y = \[-\]*\[0-9\]*\}\r\n$gdb_prompt $" { pass "print (A1)jva1v"
215 } 214 }
216 -re ".*$gdb_prompt $" { fail "print (A1)jva1v (??)" } 215 -re ".*$gdb_prompt $" { fail "print (A1)jva1v (??)" }
217 timeout { fail "(timeout) print (A1)jva1v" } 216 timeout { fail "(timeout) print (A1)jva1v" }
218 } 217 }
219 218
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.cp/abstract-origin.exp ('k') | gdb/testsuite/gdb.cp/annota2.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698