This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: implement DW_OP_bit_piece
>>>>> "Stan" == Stan Shebs <stanshebs@earthlink.net> writes:
Stan> Which rewrite is that? I can see switching to opcode disassembly for
Stan> heinously-complicated location expressions, but multiple pieces and
Stan> reg/offset seem reasonable to describe verbally - if nothing else, it
Stan> conveys to the user that a local has a nontrivial liveness range and
Stan> lives in different places at different times, so the user needs to be
Stan> cautious when a register or stack location seems to have a wrong value
Stan> in it.
Yeah. What I was planning was something like: if a given piece is
simple to describe in plain English, do so; else, disassemble.
Tom