This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Windows patch status? (broke build)
- From: "Eli Zaretskii" <eliz at gnu dot org>
- To: Paul Schlie <schlie at comcast dot net>
- Cc: mark at codesourcery dot com, mark dot kettenis at xs4all dot nl, gdb-patches at sources dot redhat dot com
- Date: Fri, 22 Apr 2005 10:53:30 +0300
- Subject: Re: Windows patch status? (broke build)
- References: <BE8DE494.9E50%schlie@comcast.net>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Thu, 21 Apr 2005 23:15:32 -0400
> From: Paul Schlie <schlie@comcast.net>
> CC: <gdb-patches@sources.redhat.com>
>
> Re: http://sources.redhat.com/ml/gdb-patches/2005-04/msg00249.html
>
> This patch broke the build of HEAD on ppc-apple-darwin7.9 w/-target=avr:
>
> gcc -c -g -O2 -I. -I/Applications/avr/avr-src/gdb
> -I/Applications/avr/avr-src/gdb/config
> -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H
> -I/Applications/avr/avr-src/gdb/../include/opcode
> -I/Applications/avr/avr-src/gdb/../readline/.. -I../bfd
> -I/Applications/avr/avr-src/gdb/../bfd
> -I/Applications/avr/avr-src/gdb/../include -I../intl
> -I/Applications/avr/avr-src/gdb/../intl -DMI_OUT=1 -DGDBTK -DTUI=1
> -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses
> -Wpointer-arith -Wformat-nonliteral -Wunused-label -Wunused-function
> -Wuninitialized /Applications/avr/avr-src/gdb/ser-base.c
> /Applications/avr/avr-src/gdb/ser-base.c: In function `ser_base_wait_for':
> /Applications/avr/avr-src/gdb/ser-base.c:187: error: storage size of `tv'
> isn't known
> make[1]: *** [ser-base.o] Error 1
> make: *** [all-gdb] Error 2
I think including <sys/time.h> in ser-base.c will solve this. Could
you please try?