From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17838 invoked by alias); 24 Nov 2007 22:47:42 -0000 Received: (qmail 17829 invoked by uid 22791); 24 Nov 2007 22:47:42 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 24 Nov 2007 22:47:30 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 3503698368 for ; Sat, 24 Nov 2007 22:47:29 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 0D11C9835D for ; Sat, 24 Nov 2007 22:47:29 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1Iw3mZ-0003XS-8e for gdb-patches@sourceware.org; Sat, 24 Nov 2007 17:47:27 -0500 Date: Sat, 24 Nov 2007 22:47:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sourceware.org Subject: Re: [RFC/RFA] Allow cygwin native to compile with --enable-64-bit-bfd Message-ID: <20071124224727.GA13580@caradoc.them.org> Mail-Followup-To: gdb-patches@sourceware.org References: <000001c82dad$e507e0b0$af17a210$@u-strasbg.fr> <20071124210708.GE4928@ednor.casa.cgf.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071124210708.GE4928@ednor.casa.cgf.cx> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes 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: 2007-11/txt/msg00460.txt.bz2 On Sat, Nov 24, 2007 at 04:07:08PM -0500, Christopher Faylor wrote: > > if (!target_read_string > >- ((CORE_ADDR) current_event.u.DebugString.lpDebugStringData, &s, 1024, > >0) > >+ ((CORE_ADDR) addr, &s, 1024, 0) > > How can coercing something to uintptr_t and then to CORE_ADDR achieve > anything? How does the double coercion help? Just the warning. CORE_ADDR will be long long, current_event.u.DebugString.lpDebugStringData will apparently be a pointer. -- Daniel Jacobowitz CodeSourcery