Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Re: Windows patch status? (broke build)
@ 2005-04-22  3:15 Paul Schlie
  2005-04-22  5:14 ` Mark Mitchell
  2005-04-22  7:56 ` Eli Zaretskii
  0 siblings, 2 replies; 7+ messages in thread
From: Paul Schlie @ 2005-04-22  3:15 UTC (permalink / raw)
  To: Mark Mitchell, Mark Kettenis; +Cc: gdb-patches

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Windows patch status? (broke build)
  2005-04-22  3:15 Windows patch status? (broke build) Paul Schlie
@ 2005-04-22  5:14 ` Mark Mitchell
  2005-04-22 10:37   ` Paul Schlie
  2005-04-22  7:56 ` Eli Zaretskii
  1 sibling, 1 reply; 7+ messages in thread
From: Mark Mitchell @ 2005-04-22  5:14 UTC (permalink / raw)
  To: Paul Schlie; +Cc: Mark Kettenis, gdb-patches

[-- Attachment #1: Type: text/plain, Size: 309 bytes --]

Paul Schlie wrote:
> 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:

Does this fix it?  If so, is this OK to check in, with a ChangeLog?

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304

[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 532 bytes --]

Index: ser-base.c
===================================================================
RCS file: /cvs/src/src/gdb/ser-base.c,v
retrieving revision 1.3
diff -c -5 -p -r1.3 ser-base.c
*** ser-base.c	21 Apr 2005 05:34:33 -0000	1.3
--- ser-base.c	22 Apr 2005 05:13:03 -0000
***************
*** 22,31 ****
--- 22,32 ----
  
  #include "defs.h"
  #include "serial.h"
  #include "ser-unix.h"
  #include "event-loop.h"
+ #include <sys/time.h>
  #ifdef USE_WIN32API
  #include <winsock2.h>
  #endif
  
  static timer_handler_func push_event;

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Windows patch status? (broke build)
  2005-04-22  3:15 Windows patch status? (broke build) Paul Schlie
  2005-04-22  5:14 ` Mark Mitchell
@ 2005-04-22  7:56 ` Eli Zaretskii
  1 sibling, 0 replies; 7+ messages in thread
From: Eli Zaretskii @ 2005-04-22  7:56 UTC (permalink / raw)
  To: Paul Schlie; +Cc: mark, mark.kettenis, gdb-patches

> 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?


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Windows patch status? (broke build)
  2005-04-22  5:14 ` Mark Mitchell
@ 2005-04-22 10:37   ` Paul Schlie
  2005-04-22 15:54     ` Mark Mitchell
  0 siblings, 1 reply; 7+ messages in thread
From: Paul Schlie @ 2005-04-22 10:37 UTC (permalink / raw)
  To: Mark Mitchell; +Cc: Mark Kettenis, gdb-patches

> Mark Mitchell wrote:
>> This patch broke the build of HEAD on ppc-apple-darwin7.9 w/-target=avr:
> 
> Does this fix it?  If so, is this OK to check in, with a ChangeLog?

Yes seems to, it's now built past this point, thank you.

> -- 
> Mark Mitchell
> CodeSourcery, LLC
> mark@codesourcery.com
> (916) 791-8304
> Index: ser-base.c
> ===================================================================
> RCS file: /cvs/src/src/gdb/ser-base.c,v
> retrieving revision 1.3
> diff -c -5 -p -r1.3 ser-base.c
> *** ser-base.c 21 Apr 2005 05:34:33 -0000 1.3
> --- ser-base.c 22 Apr 2005 05:13:03 -0000
> ***************
> *** 22,31 ****
> --- 22,32 ----
>   
>   #include "defs.h"
>   #include "serial.h"
>   #include "ser-unix.h"
>   #include "event-loop.h"
> + #include <sys/time.h>
>   #ifdef USE_WIN32API
>   #include <winsock2.h>
>   #endif
>   
>   static timer_handler_func push_event;



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Windows patch status? (broke build)
  2005-04-22 10:37   ` Paul Schlie
@ 2005-04-22 15:54     ` Mark Mitchell
  2005-04-22 17:36       ` Mark Kettenis
  0 siblings, 1 reply; 7+ messages in thread
From: Mark Mitchell @ 2005-04-22 15:54 UTC (permalink / raw)
  To: Paul Schlie; +Cc: Mark Kettenis, gdb-patches

Paul Schlie wrote:
>>Mark Mitchell wrote:
>>
>>>This patch broke the build of HEAD on ppc-apple-darwin7.9 w/-target=avr:
>>
>>Does this fix it?  If so, is this OK to check in, with a ChangeLog?
> 
> 
> Yes seems to, it's now built past this point, thank you.

Good.  I'm just waiting on an OK to check in the fix, then.

Thanks,

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Windows patch status? (broke build)
  2005-04-22 15:54     ` Mark Mitchell
@ 2005-04-22 17:36       ` Mark Kettenis
  2005-04-22 20:32         ` Mark Mitchell
  0 siblings, 1 reply; 7+ messages in thread
From: Mark Kettenis @ 2005-04-22 17:36 UTC (permalink / raw)
  To: mark; +Cc: schlie, gdb-patches

   Date: Fri, 22 Apr 2005 08:53:06 -0700
   From: Mark Mitchell <mark@codesourcery.com>

   Paul Schlie wrote:
   >>Mark Mitchell wrote:
   >>
   >>>This patch broke the build of HEAD on ppc-apple-darwin7.9 w/-target=avr:
   >>
   >>Does this fix it?  If so, is this OK to check in, with a ChangeLog?
   > 
   > 
   > Yes seems to, it's now built past this point, thank you.

   Good.  I'm just waiting on an OK to check in the fix, then.

Go ahead; it's pretty obvious.

Mark


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Windows patch status? (broke build)
  2005-04-22 17:36       ` Mark Kettenis
@ 2005-04-22 20:32         ` Mark Mitchell
  0 siblings, 0 replies; 7+ messages in thread
From: Mark Mitchell @ 2005-04-22 20:32 UTC (permalink / raw)
  To: Mark Kettenis; +Cc: schlie, gdb-patches

Mark Kettenis wrote:
>    Date: Fri, 22 Apr 2005 08:53:06 -0700
>    From: Mark Mitchell <mark@codesourcery.com>
> 
>    Paul Schlie wrote:
>    >>Mark Mitchell wrote:
>    >>
>    >>>This patch broke the build of HEAD on ppc-apple-darwin7.9 w/-target=avr:
>    >>
>    >>Does this fix it?  If so, is this OK to check in, with a ChangeLog?
>    > 
>    > 
>    > Yes seems to, it's now built past this point, thank you.
> 
>    Good.  I'm just waiting on an OK to check in the fix, then.
> 
> Go ahead; it's pretty obvious.

Committed, thanks.

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-04-22 20:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-22  3:15 Windows patch status? (broke build) Paul Schlie
2005-04-22  5:14 ` Mark Mitchell
2005-04-22 10:37   ` Paul Schlie
2005-04-22 15:54     ` Mark Mitchell
2005-04-22 17:36       ` Mark Kettenis
2005-04-22 20:32         ` Mark Mitchell
2005-04-22  7:56 ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox