From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7332 invoked by alias); 6 Apr 2004 15:50:47 -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 7283 invoked from network); 6 Apr 2004 15:50:39 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 6 Apr 2004 15:50:39 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i36Fod5F023066 for ; Tue, 6 Apr 2004 11:50:39 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i36Fodj11020; Tue, 6 Apr 2004 11:50:39 -0400 Received: from localhost.localdomain (vpn50-1.rdu.redhat.com [172.16.50.1]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id i36FocnM009132; Tue, 6 Apr 2004 11:50:38 -0400 Received: from saguaro (saguaro.lan [192.168.64.2]) by localhost.localdomain (8.12.10/8.12.10) with SMTP id i36FoXOR013679; Tue, 6 Apr 2004 08:50:33 -0700 Date: Tue, 06 Apr 2004 15:50:00 -0000 From: Kevin Buettner To: Cc: Subject: Re: ia64 in-target debugging Message-Id: <20040406085032.0106df53@saguaro> In-Reply-To: References: Organization: Red Hat Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2004-04/txt/msg00040.txt.bz2 On Tue, 6 Apr 2004 14:18:36 +0200 "Vincent Girard-Reydet" wrote: > I'm writing a stub for gdb on ia64 machines in order to debug a BIOS (in > fact it will be a stub for the EFI/ia64). I intend to debug my ia64 server > from a x86 laptop through a serial line. > I saw in the archives that it might not be possible to achieve it. Any > comments about it ? Have you any clues (or pointers to some how-to) on how I > could compile gdb on my laptop to get this stuff working ? The problem is > that if I do a ./configure, I think gdb will know x86, but not ia64, and I > need him to know both of them. Use configure's --target switch. E.g. ./configure --target=ia64-elf > I also need some informations about the executable formats supported by GDB. > The EFI spec requires PE32+ executable format (extension of the PE/COFF > format), but it's not clear if GDB supports it. If not, any idea of the > amount of work needed to support it ? I don't know. Take a look at the bfd directory to see if this support exists. > Also, I don't know where to post my stub when it is debugged. If someone > could tell me, this would be great. gdb-patches@sources.redhat.com If you plan on contributing code to GDB, you should make sure that you have an FSF copyright assignment in order. Kevin