This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 2/5] New patches to support --enable-targets=all for mingw64
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Pierre Muller <pierre dot muller at ics-cnrs dot unistra dot fr>
- Cc: 'Tom Tromey' <tromey at redhat dot com>, gdb-patches at sourceware dot org
- Date: Mon, 13 Sep 2010 10:58:32 -0700
- Subject: Re: [RFA 2/5] New patches to support --enable-targets=all for mingw64
- References: <21924.6809640483$1284127133@news.gmane.org> <m3vd6dob9d.fsf@fleche.redhat.com> <004f01cb5102$8dfe0350$a9fa09f0$@muller@ics-cnrs.unistra.fr>
> +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