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

Side by Side Diff: gdb/testsuite/gdb.base/bitfields2.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.base/bitfields2.c ('k') | gdb/testsuite/gdb.base/bitops.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 1992, 1994-1995, 1997, 2004, 2007-2012 Free Software 1 # Copyright 1992, 1994-1995, 1997, 2004, 2007-2012 Free Software
2 # Foundation, Inc. 2 # Foundation, 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
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details. 12 # GNU General Public License for more details.
13 # 13 #
14 # You should have received a copy of the GNU General Public License 14 # You should have received a copy of the GNU General Public License
15 # along with this program. If not, see <http://www.gnu.org/licenses/>. 15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
16 16
17 # This file was adapted from bitfields.exp by Paul Hilfinger 17 # This file was adapted from bitfields.exp by Paul Hilfinger
18 # (Hilfinger@gnat.com) 18 # (Hilfinger@gnat.com)
19 19
20 # 20 #
21 # Tests for bit-fields that do not fit in type (unsigned) int, but do fit 21 # Tests for bit-fields that do not fit in type (unsigned) int, but do fit
22 # in type (unsigned) long long. We perform essentially the same tests as 22 # in type (unsigned) long long. We perform essentially the same tests as
23 # in bitfields.c, which considers only bit-fields that are <= 9 bits long. 23 # in bitfields.c, which considers only bit-fields that are <= 9 bits long.
24 # 24 #
25 25
26 if $tracelevel then {
27 strace $tracelevel
28 }
29
30 26
31 set testfile "bitfields2" 27 set testfile "bitfields2"
32 set srcfile ${testfile}.c 28 set srcfile ${testfile}.c
33 set binfile ${objdir}/${subdir}/${testfile} 29 set binfile ${objdir}/${subdir}/${testfile}
34 if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb ug}] != "" } { 30 if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb ug}] != "" } {
35 untested bitfields2.exp 31 untested bitfields2.exp
36 return -1 32 return -1
37 } 33 }
38 34
39 set has_signed_bitfields 1 35 set has_signed_bitfields 1
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 286
291 gdb_test_no_output "set print sevenbit-strings" 287 gdb_test_no_output "set print sevenbit-strings"
292 runto_main 288 runto_main
293 289
294 bitfield_uniqueness 290 bitfield_uniqueness
295 bitfield_containment 291 bitfield_containment
296 bitfield_unsignedness 292 bitfield_unsignedness
297 bitfield_signedness 293 bitfield_signedness
298 bitfield_set 294 bitfield_set
299 295
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.base/bitfields2.c ('k') | gdb/testsuite/gdb.base/bitops.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698