From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10042 invoked by alias); 13 Sep 2010 17:58:41 -0000 Received: (qmail 10034 invoked by uid 22791); 13 Sep 2010 17:58:41 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,KAM_STOCKGEN X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 13 Sep 2010 17:58:36 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id EEA992BAB77; Mon, 13 Sep 2010 13:58:34 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 5z8rs9ZqrLCE; Mon, 13 Sep 2010 13:58:34 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id B63C72BAB6B; Mon, 13 Sep 2010 13:58:34 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id ECB13F599F; Mon, 13 Sep 2010 13:58:32 -0400 (EDT) Date: Mon, 13 Sep 2010 18:34:00 -0000 From: Joel Brobecker To: Pierre Muller Cc: 'Tom Tromey' , gdb-patches@sourceware.org Subject: Re: [RFA 2/5] New patches to support --enable-targets=all for mingw64 Message-ID: <20100913175832.GB3845@adacore.com> References: <21924.6809640483$1284127133@news.gmane.org> <004f01cb5102$8dfe0350$a9fa09f0$@muller@ics-cnrs.unistra.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <004f01cb5102$8dfe0350$a9fa09f0$@muller@ics-cnrs.unistra.fr> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-09/txt/msg00251.txt.bz2 > +2010-09-10 Pierre Muller > + > + * 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