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


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


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