From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 693 invoked by alias); 11 Oct 2003 23:57:19 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 654 invoked from network); 11 Oct 2003 23:56:42 -0000 Received: from unknown (HELO localhost.redhat.com) (65.49.0.121) by sources.redhat.com with SMTP; 11 Oct 2003 23:56:42 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id C32582B89; Sat, 11 Oct 2003 19:56:35 -0400 (EDT) Message-ID: <3F8898B3.6090605@redhat.com> Date: Sat, 11 Oct 2003 23:57:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mark Kettenis , drow@mvista.com Cc: gdb@sources.redhat.com Subject: Re: [RFC] Core files and the architecture vector References: <200310112207.h9BM7WW0010332@elgar.kettenis.dyndns.org> <20031011222622.GB7209@nevyn.them.org> <200310112242.h9BMgiMI010470@elgar.kettenis.dyndns.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-10/txt/msg00189.txt.bz2 > Do we see 32-bit or 64-bit registers from ptrace when debugging such a > process? > > At least on FreeBSD/amd64 you see the 64-bit register with ptrace. As in a 64-bit GDB is linked against a 64-bit ptrace so sees 64-bit registers when debugging a 32-bit app. Same for x86-64 GNU/Linux. At least this bit is right. Andrew