[PATCH 2/2] Involve gdbarch in taking DWARF register pieces

Pedro Alves palves@redhat.com
Fri Apr 15 18:37:00 GMT 2016


Could we have some comment somewhere on what a "part" is?

This comment isn't very enlightening, IMHO:

+# Locate a part of size LEN within register *REGNUM, possibly overwriting
+# *REGNUM.  Return the offset of the part within the (possibly adjusted)
+# register.
+m:int:register_part:int len, int *regnum:len, regnum::default_register_part::0

Reading this in isolation I have no idea what it's for.  I skimmed the patch
and didn't find any.  Sorry if it's there and I missed it.

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list