Patch: Dwarf2 reader -vs- DW_OP_piece
Andrew Cagney
ac131313@cygnus.com
Sun Feb 24 09:12:00 GMT 2002
> That makes sense.
>
> Could you change your patch to detect that pattern, verify that the
> register numbers are consecutive (according to DWARF2_REG_TO_REGNUM),
> return the number of the first register if everything seems right, and
> give a dwarf2_complex_location_expr complaint otherwise?
>
> This is a bit more work, but it's more correct.
BTW, this assumption is one of the two origins of our good friend (not)
read_register_bytes(). Sigh.
Andrew
More information about the Gdb-patches
mailing list