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

Side by Side Diff: gdb/testsuite/gdb.hp/gdb.base-hp/dollar.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
OLDNEW
1 # Copyright (C) 1997-1998, 2007-2012 Free Software Foundation, Inc. 1 # Copyright (C) 1997-1998, 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
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 # GDB tests for names beginning with '$' 16 # GDB tests for names beginning with '$'
17 17
18 # This is aimed at HP-UX systems where a lot of system 18 # This is aimed at HP-UX systems where a lot of system
19 # routines and names begin with '$' or '$$'. GDB 4.16 was 19 # routines and names begin with '$' or '$$'. GDB 4.16 was
20 # unable to deal with these names as they clashed with 20 # unable to deal with these names as they clashed with
21 # convenience variables. Wildebeest should accept such 21 # convenience variables. Wildebeest should accept such
22 # names in preference to convenience variables. 22 # names in preference to convenience variables.
23 23
24 # This file was written by Satish Pai <pai@apollo.hp.com> 24 # This file was written by Satish Pai <pai@apollo.hp.com>
25 # 1997-09-24 25 # 1997-09-24
26 26
27 if $tracelevel then {
28 strace $tracelevel
29 }
30
31 # 27 #
32 # test running programs 28 # test running programs
33 # 29 #
34 30
35 if { [skip_hp_tests] } { continue } 31 if { [skip_hp_tests] } { continue }
36 32
37 set testfile "dollar" 33 set testfile "dollar"
38 set srcfile ${testfile}.c 34 set srcfile ${testfile}.c
39 set binfile ${objdir}/${subdir}/${testfile} 35 set binfile ${objdir}/${subdir}/${testfile}
40 36
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 timeout { fail "(timeout) print \$ARGV" } 137 timeout { fail "(timeout) print \$ARGV" }
142 } 138 }
143 send_gdb "ptype \$ARGV\n" 139 send_gdb "ptype \$ARGV\n"
144 gdb_expect { 140 gdb_expect {
145 -re "type = <data variable, no debug info>.*$gdb_prompt $" { pass "ptype \$AR GV" } 141 -re "type = <data variable, no debug info>.*$gdb_prompt $" { pass "ptype \$AR GV" }
146 -re "type = void.*$gdb_prompt $" { fail "ptype \$ARGV (interpreted as conveni ence var)" } 142 -re "type = void.*$gdb_prompt $" { fail "ptype \$ARGV (interpreted as conveni ence var)" }
147 -re "$gdb_prompt $" { fail "ptype \$ARGV" } 143 -re "$gdb_prompt $" { fail "ptype \$ARGV" }
148 timeout { fail "(timeout) ptype \$ARGV" } 144 timeout { fail "(timeout) ptype \$ARGV" }
149 } 145 }
150 } 146 }
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.hp/gdb.base-hp/callfwmall.exp ('k') | gdb/testsuite/gdb.hp/gdb.base-hp/hwwatchbus.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698