This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH/i386newframe] amd64newframe


Michal Ludvig <mludvig@suse.cz> writes:

> Mark Kettenis told me that:
>>    (gdb)    warning: Unmapped DWARF Register #16 encountered
>>    6       return 0;
>>    (gdb)    warning: Unmapped DWARF Register #16 encountered
>>    7       }
>> Ah, that must be the new DWARF CFI frame unwinder.  The return
>> address
>> RA isn't mapped.  I could change the DWARF register mapping in
>> x86-64-tdep.c, but this really is a problem with the DWARF CFI frame
>> unwinder since the compiler is free to choose any number it wants for
>> the return address column.  Should be fixed now.
>
> IMHO compiler shouldn't choose whatever it wants - RA column is
> defined in the Amd64 ABI (sec.3.6).
>
> Anyway thanks for moving amd64 target to the new unwinder!

Yes, thanks!  Michal, can you help testing, please?

> BTW could we add amd64 as an alias to x86_64 for configure scripts?

config.* handles it already correctly,

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]