[PATCH/i386newframe] amd64newframe

Michal Ludvig mludvig@suse.cz
Mon May 19 07:00:00 GMT 2003


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!

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

Michal Ludvig
-- 
* SuSE CR, s.r.o     * mludvig@suse.cz
* (+420) 296.545.373 * http://www.suse.cz



More information about the Gdb-patches mailing list