[RFA 2/5] New patches to support --enable-targets=all for mingw64

Joel Brobecker brobecker@adacore.com
Mon Sep 13 18:34:00 GMT 2010


> +2010-09-10  Pierre Muller  <muller@ics.u-strasbg.fr>
> +
> +       * alpha-mdebug-tdep.c (find_proc_desc): Use SYMBOL_VALUE_BYTES macro
> +       before cast to pointer to avoid warning.

And I confirm that this should be the correct fix. If you look at
the code in mdebugread.c, where we create the procedure descriptor
data, we store it with:

          SYMBOL_VALUE_BYTES (s) = (gdb_byte *) e;

Thanks for fixing this.
-- 
Joel



More information about the Gdb-patches mailing list