From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26369 invoked by alias); 1 Jul 2009 17:18:01 -0000 Received: (qmail 26360 invoked by uid 22791); 1 Jul 2009 17:18:00 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 01 Jul 2009 17:17:55 +0000 Received: (qmail 9456 invoked from network); 1 Jul 2009 17:17:54 -0000 Received: from unknown (HELO orlando.local) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 1 Jul 2009 17:17:54 -0000 From: Pedro Alves To: "Pierre Muller" Subject: Re: [RFC-v2] Add windows Thread Information Block Date: Wed, 01 Jul 2009 17:18:00 -0000 User-Agent: KMail/1.9.10 Cc: gdb-patches@sourceware.org References: <000901c9f5ef$4ee06f10$eca14d30$@u-strasbg.fr> <200907011643.45759.pedro@codesourcery.com> <002701c9fa66$50823ad0$f186b070$@u-strasbg.fr> In-Reply-To: <002701c9fa66$50823ad0$f186b070$@u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200907011819.07643.pedro@codesourcery.com> 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: 2009-07/txt/msg00023.txt.bz2 [ sorry, missed one question ] On Wednesday 01 July 2009 17:09:30, Pierre Muller wrote: >=20 > =A0 One more question: > =A0 What if we switch from debugging a win32 application to a win64, > will the type of $_tib be also recomputed correctly? Yes. The type is a gdbarch property (of the frame of the current thread). For $_siginfo, the same function linux_get_siginfo_type handles both x86 and amd64, because the structures are mostly equivalent, but it's just as easy to install different gdbarch callbacks on i386-cygwin-tdep.c and amd64-windows-tdep.c. --=20 Pedro Alves