This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: [RFC/RFA] Remove bad pointer to long typecast in symfile.c source
- From: "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>
- To: "'Joel Brobecker'" <brobecker at adacore dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Tue, 21 Aug 2012 18:09:50 +0200
- Subject: RE: [RFC/RFA] Remove bad pointer to long typecast in symfile.c source
- References: <000301cd7f85$92739a40$b75acec0$@muller@ics-cnrs.unistra.fr> <20120821153835.GT2798@adacore.com> <000301cd7fb4$07752150$165f63f0$@muller@ics-cnrs.unistra.fr> <20120821155002.GV2798@adacore.com>
> -----Message d'origine-----
> De?: gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] De la part de Joel Brobecker
> Envoyé?: mardi 21 août 2012 17:50
> À?: Pierre Muller
> Cc?: gdb-patches@sourceware.org
> Objet?: Re: [RFC/RFA] Remove bad pointer to long typecast in symfile.c
> source
>
> > > > 2012-08-13 Pierre Muller <muller@ics.u-strasbg.fr>
> > > >
> > > > * symfile.c (allocate_symtab): Use host_address_to_string
> > > > function instead of cast of pointer to long which is not
> > > > compatible with x86_64-w64-mingw32 build.
> > committed in
> > http://sourceware.org/ml/gdb-cvs/2012-08/msg00152.html
>
> Just a thought: It looks like this problem also exists on the 7.5 branch.
> Would you mind committing it there as well? (I can do it for you if not
> convenient)
>
> Thank you,
As the patch applied cleanly in gdb_7_5-branch,
and is rather straightforward,
I committed it without recompilation,
I hope this is OK for such a small change.
Pierre
PS: I almost forgot that 7.5 was out in between...
Is gdb_7_4-branch frozen to avoid such accidents?
Reference:
http://sourceware.org/ml/gdb-cvs/2012-08/msg00153.html