Re: [Dwarf-Discuss] FDEs involving predicated instructions

2013-05-14 Thread Christopher Mead
r does messing around with the semantics of DW_OP_<*> operations depending upon the context in which they are being executed overly muddy the water? Kind regards, Chris Mead. > -Original Message- > From: Humphreys, Jonathan [mailto:j-humphr...@ti.com] > Sent: 10 May 2013 18:

Re: [Dwarf-Discuss] FDEs involving predicated instructions

2013-05-08 Thread Christopher Mead
Hi, In the FDE one could, in theory, emit a DW_CFA_def_cfa_expression for the ADDNE and BEQ along the lines of (modulo bugs): ULEB128 ;Extract the mode bits from the CPSR (or wherever your processor stores condition flags) DW_OP_bregx CPSR, 0 ; If the CPSR isn't numbered (e.g. in ARM D