Re: [PATCH] Expand bitpos to LONGEST to allow access to large offsets within a struct

Siddhesh Poyarekar
2012-02-29T13:55:26Z

On Wed, Feb 29, 2012 at 07:21:48PM +0530, Siddhesh Poyarekar wrote:
> For reference, the splint command I used with each source:
>
> splint -warnposix -Dsigjmp_buf=int -I. -I../../gdb/gdb \
> -I../../gdb/gdb/common -I../../gdb/gdb/config \
> -DLOCALEDIR="\"/home/siddhesh/sandbox/gdb-sandbox/share/locale\""
> -DHAVE_CONFIG_H -I../../gdb/gdb/../include/opcode
> -I../../gdb/gdb/../opcodes/.. -I../../gdb/gdb/../readline/..
> -I../bfd -I../../gdb/gdb/../bfd -I../../gdb/gdb/../include
> -I../libdecnumber -I../../gdb/gdb/../libdecnumber \
> -I../../gdb/gdb/gnulib -Ignulib -DTUI=1
> -I/usr/include/python2.7 -I/usr/include/python2.7
> -I../../gdb-build/gdb $file
>

Ugh. This is obviously:

splint -warnposix -Dsigjmp_buf=int -I. -I../../gdb/gdb \
-I../../gdb/gdb/common -I../../gdb/gdb/config \
-DLOCALEDIR="\"/home/siddhesh/sandbox/gdb-sandbox/share/locale\"" \
-DHAVE_CONFIG_H -I../../gdb/gdb/../include/opcode \
-I../../gdb/gdb/../opcodes/.. -I../../gdb/gdb/../readline/.. \
-I../bfd -I../../gdb/gdb/../bfd -I../../gdb/gdb/../include \
-I../libdecnumber -I../../gdb/gdb/../libdecnumber \
-I../../gdb/gdb/gnulib -Ignulib -DTUI=1 \
-I/usr/include/python2.7 -I/usr/include/python2.7 \
-I../../gdb-build/gdb $file

--
Siddhesh