https://bugs.kde.org/show_bug.cgi?id=461074

Mark Wielaard <m...@klomp.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|REPORTED                    |CONFIRMED

--- Comment #8 from Mark Wielaard <m...@klomp.org> ---
Thanks that makes clear what is going wrong.
The full expression is:

     def_cfa_expression 10
          [ 0] breg31 0
          [ 2] bregx 46 0
          [ 5] lit8
          [ 6] mul
          [ 7] plus_uconst 80
          [ 9] plus

And we do indeed not handle DW_OP_bregx (0x92).
But since we do handle DW_OP_breg0 ... DW_OP_breg31 it shouldn't be too hard to
handle DW_OP_bregx too (the difference is in how the register argument is part
of the opcode in the first, but encoded as a uleb128 argument in the second.

See dwarfexpr_to_dag in coregrind/m_debuginfo/readdwarf.c (and somewhat
identical code, that does handle DW_OP_bregx in evaluate_Dwarf3_Expr
coregrind/m_debuginfo/d3basics.c.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to