Update to splay-tree.h for 64-bit Windows host
Kai Tietz
Kai.Tietz@onevision.com
Thu Jul 12 12:23:00 GMT 2007
> > 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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: splay-tree.txt
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20070712/15a32cfa/attachment.txt>
More information about the Gdb-patches
mailing list