Using GDB to debug ia64 files

Vincent Girard-Reydet vincent.girard-reydet@bull.net
Wed Jun 30 12:23:00 GMT 2004


OKay, so what soltuion do I have ?
I have downloaded Cygwi, especially the GDB 20030919-1 package (guess it's
what you call vanilla Windows GDB ?). I have tried to compile it for
architecture ia64-pc-cygwin, but it failed. Same for ia64-pc-elf.
I'de like to add PDB support to the BFD library, but I have problems finding
my way into the code. Have an idea of what to read/do first ?
If I can manage to add support of the PDB format to BFD, do you think I will
be able to do what I'de like to ? Is there a sufficient support in GDB for
doing what I'de like to ?

Last question : what is precisely this "vanilla Windows version of GDB"
you're talking of ? Where can I get it, if it's not the one of Cygwin ?

Vincent

> -----Message d'origine-----
> De : Larry Hall [mailto:cygwin-lh@cygwin.com]
> Envoye : mardi 29 juin 2004 16:21
> A : vincent.girard-reydet@bull.net; Cygwin List; gdb@sources.redhat.com
> Objet : RE: Using GDB to debug ia64 files
>
>
> At 02:22 AM 6/29/2004, you wrote:
> >I must add a precision : only the platform is ia64. My
> development machine
> >is ia32, and I do cross-compilation to compile my BIOS.
>
>
> Sure but you'll need tools that work with ia64, just like your BIOS does.
>
>
> >I never heard of this "vanilla Windows version of gdb", have you
> >informations about it ?
>
>
> See <http://www.mingw.org/>.  Lots of pure Win32 versions of tools are
> available there.
>
>
> >> >Hi people of Cygwin & GDB,
> >> >
> >> >I'm trying to do some quite complicated debug stuff with Cygwin,
> >> and can't
> >> >find how to do it. Would someone know how to help me ?
> >> >Here is the problem :
> >> >
> >> >I have a BIOS compiled with the VC++ compiler for ia64. This
> BIOS is EFI
> >> >(www.intel.com/technology/efi/) based.
> >> >The BIOS is compiled under Windows, and it's a mandatory because
> >> some tools
> >> >I'm using have not been ported to Linux.
> >> >The BIOS is compiled in debug mode, thus generating Windows
> paths to the
> >> >debug files (PDB format) in the image.
> >> >
> >> >I've written a GDB stub in my BIOS. What I wish is to use GDB on
> >> Cygwin to
> >> >communicate with this stub and debug my BIOS.
> >> >What I don't know is :
> >> > - does GDB support COFF format and PDB format ? I guess the
> >> first is "yes",
> >> >and I read a thread on this archive about PDB format. I'm not
> >> sure GDB does
> >> >understand it, but then I would add the PDB support to GDB.
> Does someone
> >> >have doc about it (if the rest of the stuff is possible, of
> course), and
> >> >know how long a process this can be ?
> >> >
> >> > - supposing I have GDB understanding both PDB and COFF format
> >> (or if I can
> >> >make VC generate a debug file format that GDb can
> understand), will I be
> >> >able to use it to debug my BIOS ? Or will GDB/Cygwin crash
> because if the
> >> >Windows Paths ?
> >> >
> >> > - does GDB/Cygwin have a goog ia64 support ? I think
> GDB/Linux has been
> >> >ported to ia64. Has this port been done to GDB/Cygwin ? If not,
> >> would it be
> >> >long to transcript it from GDB/Linux to GDB/Cygwin ?
> >>
> >>
> >> Cygwin itself has not yet been ported to ia64.  It may work in Win32
> >> emulation mode (there have been successful reports of this IIRC) but
> >> that won't get you where you want to go.  In any case, it's not clear
> >> that adding Cygwin into this equation is helpful to you.  If you're
> >> building with VC++ and cannot or won't use VC++ to debug for
> some reason,
> >> you may as well focus on the vanilla Windows version of gdb, unless you
> >> find a benefit to using the Cygwin version.  In this light, this is a
> >> pure gdb issue.
> >>
> >>
> >> --
> >> Larry Hall                              http://www.rfk.com
> >> RFK Partners, Inc.                      (508) 893-9779 - RFK Office
> >> 838 Washington Street                   (508) 893-9889 - FAX
> >> Holliston, MA 01746
> >>
> >
> >
> >--
> >Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> >Problem reports:       http://cygwin.com/problems.html
> >Documentation:         http://cygwin.com/docs.html
> >FAQ:                   http://cygwin.com/faq/
>



More information about the Gdb mailing list