From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15824 invoked by alias); 14 Jan 2009 13:16:26 -0000 Received: (qmail 15808 invoked by uid 22791); 14 Jan 2009 13:16:25 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.154) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 14 Jan 2009 13:15:45 +0000 Received: from baal.u-strasbg.fr (baal.u-strasbg.fr [IPv6:2001:660:2402::41]) by mailhost.u-strasbg.fr (8.14.2/jtpda-5.5pre1) with ESMTP id n0EDFVJN011591 ; Wed, 14 Jan 2009 14:15:31 +0100 (CET) Received: from mailserver.u-strasbg.fr (ms4.u-strasbg.fr [IPv6:2001:660:2402:d::13]) by baal.u-strasbg.fr (8.14.0/jtpda-5.5pre1) with ESMTP id n0EDFUHV040578 ; Wed, 14 Jan 2009 14:15:30 +0100 (CET) (envelope-from muller@ics.u-strasbg.fr) Received: from d620muller (www-ics.u-strasbg.fr [130.79.210.225]) (user=mullerp mech=LOGIN) by mailserver.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id n0EDFULM037255 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) ; Wed, 14 Jan 2009 14:15:30 +0100 (CET) (envelope-from muller@ics.u-strasbg.fr) From: "Pierre Muller" To: "'Kai Tietz'" Cc: References: <000001c9763a$4d6cda90$e8468fb0$@u-strasbg.fr> In-Reply-To: Subject: RE: [RFC] 32-bit support for windows thread information block Date: Wed, 14 Jan 2009 13:16:00 -0000 Message-ID: <000d01c9764a$2e08b5b0$8a1a2110$@u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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: 2009-01/txt/msg00311.txt.bz2 > -----Message d'origine----- > De=A0: gdb-patches-owner@sourceware.org [mailto:gdb-patches- > owner@sourceware.org] De la part de Kai Tietz > Envoy=E9=A0: Wednesday, January 14, 2009 2:00 PM > =C0=A0: Pierre Muller > Cc=A0: gdb-patches@sourceware.org > Objet=A0: Re: [RFC] 32-bit support for windows thread information block >=20 > gdb-patches-owner@sourceware.org wrote on 14.01.2009 12:21:53: >=20 > > I implemented two new command that display > > a part of the information of the > > thread information block and on > > the structured exception handler chain. > > I added these two command to the "info w32" command > > prefix, but got into troubles appearing below. > > > > I have several questions regarding the 64-bit support of > > windows nat files: > > > > 1) Do hardware watchpoints work? > > the problem is that the dr[8] array is > > defined as a unsigned type, > > is this enough for win64? > > Is "unsigned" type a 64-bit ? > > > > In the _CONTEXT struct > > the debug registers are defined as DWORD64... >=20 > For address above 4GB hardware watchpoints aren't working, reasoned by > truncation. This would be easily fixed by changing the=20 "unsigned" type into something that would be "DWORD64" on 64-bit and "DWORD" on 32-bit. The main problem for me is that I don't know=20 what would be a reasonable choice for that type? Would uintptr_t be OK here? Pierre Muller Pascal language support maintainer for GDB