Re: [RFA, 3 of 3] save/restore process record, part 3 (save/restore)

Paul Pluzhnikov
2009-10-23T00:45:45Z

On Thu, Oct 22, 2009 at 2:25 PM, Paul Pluzhnikov <ppluzhnikov@google.com> wrote:
> On Thu, Oct 22, 2009 at 1:54 PM, Michael Snyder <msnyder@vmware.com> wrote:
>
>> Sorry, fixed.

More problems: on Linux/x86_64:

gcc -g -O2 -I. -I../../src/gdb -I../../src/gdb/common
-I../../src/gdb/config -DLOCALEDIR="\"/usr/share/locale\""
-DHAVE_CONFIG_H -I../../src/gdb/../include/opcode
-I../../src/gdb/../readline/.. -I../bfd -I../../src/gdb/../bfd
-I../../src/gdb/../include -I../libdecnumber
-I../../src/gdb/../libdecnumber -I../../src/gdb/gnulib -Ignulib
-DMI_OUT=1 -DTUI=1 -I/usr/grte/v1/k8-linux/include -Wall
-Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
-Wno-pointer-sign -Wno-unused -Wunused-value -Wno-switch
-Wno-char-subscripts -Werror -c -o record.o -MT record.o -MMD -MP -MF
.deps/record.Tpo ../../src/gdb/record.c
cc1: warnings being treated as errors
../../src/gdb/record.c: In function 'record_restore':
../../src/gdb/record.c:2062: warning: format '%d' expects type 'int',
but argument 3 has type 'long unsigned int'
../../src/gdb/record.c:2089: warning: format '%d' expects type 'int',
but argument 3 has type 'long unsigned int'
../../src/gdb/record.c:2089: warning: format '%d' expects type 'int',
but argument 4 has type 'long unsigned int'
../../src/gdb/record.c:2114: warning: format '%d' expects type 'int',
but argument 2 has type 'long unsigned int'
../../src/gdb/record.c:2114: warning: format '%d' expects type 'int',
but argument 3 has type 'long unsigned int'
../../src/gdb/record.c: In function 'cmd_record_save':
../../src/gdb/record.c:2314: warning: format '%d' expects type 'int',
but argument 3 has type 'long unsigned int'
../../src/gdb/record.c:2334: warning: format '%d' expects type 'int',
but argument 3 has type 'long unsigned int'
../../src/gdb/record.c:2334: warning: format '%d' expects type 'int',
but argument 4 has type 'long unsigned int'
../../src/gdb/record.c:2355: warning: format '%d' expects type 'int',
but argument 2 has type 'long unsigned int'
../../src/gdb/record.c:2355: warning: format '%d' expects type 'int',
but argument 3 has type 'long unsigned int'
make: *** [record.o] Error 1

--
Paul Pluzhnikov