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

Pierre Free Pascal pierre at freepascal.org
Tue Oct 12 12:14:15 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

 This is also not totally true:
I heard recently that Apple has a 64-bit extension of the
stabs debug format in
bfd/mach-o.c:bfd_mach_o_read_symtab_symbol
and
gdb/machoread.c:macho_symtab_read (this doesn't use dbxread.c)

Pierre






More information about the fpc-devel mailing list