This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [CRIS] dwarf2 frame sniffer problem?
Orjan Friberg wrote:
Ugh, I had totally missed that (i.e. I don't even have a CRIS-specific
DWARF2_REG_TO_REGNUM). Looking at the other targets' implementations I
don't understand where they got the dwarf2 register mapping from (though
amd64-tdep.c mentions System V psABI), and the dwarf2 spec says in
"2.4.2 Register Name Operators" it should be in the architecture's ABI
spec. I'll go bug my compiler guy, or go look in gcc myself.
Too trigger happy on the send button... The mn10300 told me where to
find it (gcc/config/cris/cris.h). It seems only the SRP needs special
handling (besides the ones that aren't mapped at all).
--
Orjan Friberg
Axis Communications