From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32724 invoked by alias); 19 Feb 2013 16:30:54 -0000 Received: (qmail 32686 invoked by uid 22791); 19 Feb 2013 16:30:49 -0000 X-SWARE-Spam-Status: No, hits=-4.6 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout22.012.net.il (HELO mtaout22.012.net.il) (80.179.55.172) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 19 Feb 2013 16:30:39 +0000 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MIH004006JQKV00@a-mtaout22.012.net.il> for gdb@sourceware.org; Tue, 19 Feb 2013 18:30:35 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MIH004DF76Z54D0@a-mtaout22.012.net.il>; Tue, 19 Feb 2013 18:30:35 +0200 (IST) Date: Tue, 19 Feb 2013 16:30:00 -0000 From: Eli Zaretskii Subject: Re: [patch gdb]: Fix display for LLP64 target in window-nat.c In-reply-to: To: Kai Tietz Cc: gdb@sourceware.org Reply-to: Eli Zaretskii Message-id: <83obfgp8p5.fsf@gnu.org> References: X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2013-02/txt/msg00080.txt.bz2 > Date: Tue, 19 Feb 2013 15:09:06 +0100 > From: Kai Tietz > > this patch fixes a pointer-truncation in display on Windows LLP64 target. > > ChangeLog 2013-02-19 Kai Tietz > > * windows-nat.c (windows_xfer_memory): Fix debug-output > for LLP64. > > Ok for apply? Isn't DWORD_PTR the right replacement for DWORD in these cases? Actually, I don't understand what is the cast to uintptr_t doing there, it seems redundant.