[fpc-devel] x86_64 stabs info - patch (sort of)

Pierre Free Pascal pierre at freepascal.org
Tue Oct 12 11:33:01 CEST 2010



> -----Message d'origine-----
> De : fpc-devel-bounces at lists.freepascal.org [mailto:fpc-devel-
> bounces at lists.freepascal.org] De la part de Jonas Maebe
> Envoyé : Tuesday, October 12, 2010 10:51 AM
> À : FPC developers' list
> Objet : Re: [fpc-devel] x86_64 stabs info - patch (sort of)
> 
> 
> On 12 Oct 2010, at 10:25, Pierre Free Pascal wrote:
> 
> >  This means that indeed stabs and dwarf register number are equal,
> > at least for GDB.
> >
> >  The problem is that this means that we probably also need to
> > distinguish between stabs32 and stabs64, as we already do for
> > dwarf32 and dwarf64...
> 
> There is no stabs64 format, afaik. See
> http://sourceware.org/bugzilla/show_bug.cgi?id=9327

  I think that dwarf32 and dwarf64 here only refers to 
i386 32-bit registers
versus
amd64 64-bit registers.

  It is in that meaning that I said that we should use 
the dwarf64 column of x86reg.dat to implement
the stabs register number for x86_64 CPU.

Pierre




More information about the fpc-devel mailing list