From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27948 invoked by alias); 22 Feb 2010 15:30:07 -0000 Received: (qmail 27925 invoked by uid 22791); 22 Feb 2010 15:30:06 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 22 Feb 2010 15:29:59 +0000 Received: (qmail 16241 invoked from network); 22 Feb 2010 15:29:58 -0000 Received: from unknown (HELO caradoc.them.org) (dan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 22 Feb 2010 15:29:58 -0000 Date: Mon, 22 Feb 2010 15:30:00 -0000 From: Daniel Jacobowitz To: "H.J. Lu" Cc: Mark Kettenis , gdb-patches@sourceware.org Subject: Re: PATCH: Enable x86 XML target descriptions Message-ID: <20100222152955.GB30100@caradoc.them.org> Mail-Followup-To: "H.J. Lu" , Mark Kettenis , gdb-patches@sourceware.org References: <20100210200303.GA19632@lucon.org> <20100218054312.GA9022@lucon.org> <20100218153402.GA27929@lucon.org> <20100218230135.GA17916@intel.com> <201002221342.o1MDgSZA029705@glazunov.sibelius.xs4all.nl> <6dc9ffc81002220617o1d348e68hc918d434118cadcb@mail.gmail.com> <201002221501.o1MF1Qrq024363@glazunov.sibelius.xs4all.nl> <6dc9ffc81002220727k50e97d86waac51e92f5e3315@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6dc9ffc81002220727k50e97d86waac51e92f5e3315@mail.gmail.com> 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-02/txt/msg00536.txt.bz2 On Mon, Feb 22, 2010 at 07:27:30AM -0800, H.J. Lu wrote: > It works fine. amd64_linux_read_description is called via Does it work fine for the right reason? gdbarch has not been set yet. How can the gdbarch know if the PID is a 32-bit or 64-bit process? -- Daniel Jacobowitz CodeSourcery