This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Update to splay-tree.h for 64-bit Windows host


> > On 7/12/07, Nick Clifton wrote:
> > > Hi Guys,
> > >
> > >   I have checked in the patch below as part of a wider patch to 
allow
> > >   the binutils to be built on a 64-bit windows host.  It provides a
> > >   64-bit windows alternative for the type of the splay_tree_key and
> > >   splay_tree_value types.
> > 
> > Please revert this patch ASAP as it breaks bootstrap everywhere and I
> > don't see this
> > was tested or approved.
> > 
> > Richard.
> > 
> 
> It seems to be that gengtype is the reason why it fails, and it starts 
to 
> magically work if the spaces before all "typedef"s  are removed. I don't 

> know what it is, but I have a strong feeling, that the whitespace 
parsing 
> in the lexer script of gengtype is the reason.

This patch solves this problem with gengtype. It is tested for 
i686-pc-linux-gnu and x86_64-pc-mingw32.

ChangeLog: /include

2007-07-12  Kai Tietz   <kai.tietz@onevision.com>

        * splay-tree.h (libi_uhostptr_t, libi_shostptr_t): Adjust types
        work-a-round whitespace problem in gcc gengtype.



Cheers,
 i.A. Kai Tietz

|  (\_/)  This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.

------------------------------------------------------------------------------------------
  OneVision Software Entwicklungs GmbH & Co. KG
  Dr.-Leo-Ritter-StraÃe 9 - 93049 Regensburg
  Tel: +49.(0)941.78004.0 - Fax: +49.(0)941.78004.489 - www.OneVision.com
  Commerzbank Regensburg - BLZ 750 400 62 - Konto 6011050
  Handelsregister: HRA 6744, Amtsgericht Regensburg
  KomplementÃrin: OneVision Software Entwicklungs Verwaltungs GmbH
  Dr.-Leo-Ritter-StraÃe 9 â 93049 Regensburg
  Handelsregister: HRB 8932, Amtsgericht Regensburg - GeschÃftsfÃhrer: 
Ulrike DÃhler, Manuela Kluger

Attachment: splay-tree.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]