http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51695

--- Comment #5 from Jan Kratochvil <jan.kratochvil at redhat dot com> 
2012-01-04 14:20:29 UTC ---
(In reply to comment #4)
> they could have unwanted
> side-effects (reading uninitialized memory, division by zero, producing NaNs
> etc.) that the debugger might complain about loudly.

GDB will complain.


> create a DW_TAG_dwarf_procedure for them and just replace those subexpressions
> with DW_OP_call* to that procedure.

DW_OP_call{2,4} is supported by GDB now.  DW_TAG_dwarf_procedure is unsupported
now but it looks like a "oneliner" patch, ping me for DW_TAG_dwarf_procedure
implementation, please.

Reply via email to