[RFC/RFA] Remove bad pointer to long typecast in symfile.c source

Pierre Muller pierre.muller@ics-cnrs.unistra.fr
Tue Aug 21 16:10:00 GMT 2012



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




More information about the Gdb-patches mailing list