This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: ia64 in-target debugging
- From: Kevin Buettner <kevinb at redhat dot com>
- To: <vincent dot girard-reydet at bull dot net>
- Cc: <gdb at sources dot redhat dot com>
- Date: Tue, 6 Apr 2004 08:50:32 -0700
- Subject: Re: ia64 in-target debugging
- Organization: Red Hat
- References: <PMECLFNHMJECAIEDIAAPMECLCAAA.vincent.girard-reydet@bull.net>
On Tue, 6 Apr 2004 14:18:36 +0200
"Vincent Girard-Reydet" <vincent.girard-reydet@bull.net> 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