<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 8, 2023 at 9:22 AM Metzger, Markus T via Dwarf-discuss <<a href="mailto:dwarf-discuss@lists.dwarfstd.org">dwarf-discuss@lists.dwarfstd.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">>### Section 2.5.1.7 Special Operations, p.37<br>
><br>
>The first sentence of the description of DW_OP_entry_value reads:<br>
><br>
> The DW_OP_entry_value operation pushes the value that the described<br>
> location held upon entering the current subprogram.<br>
><br>
>A DWARF expression does not describe a location, so this should read:<br>
><br>
> The DW_OP_entry_value operation evaluates an expression or register<br>
> location description as if it had been evaluated upon entering the<br>
> current subprogram, and pushes the value of the expression or content<br>
> of the register, respectively.<br>
<br>
Aren't register location descriptions the only thing that, given appropriate<br>
unwind rules, can actually be implemented?<br>
<br>
Should this be restricted to only allow register location descriptions?<br></blockquote><div><br></div><div>There exist debuggers (e.g. Pernosco <a href="https://pernos.co/about/overview/">https://pernos.co/about/overview/</a>) that are capable of handling non-register location descriptions in the past, so I would oppose any spec limitation on what DW_OP_entry_value can evaluate.<br></div><div><br></div><div>- Kyle<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Regards,<br>
Markus.<br>
Intel Deutschland GmbH<br>
Registered Address: Am Campeon 10, 85579 Neubiberg, Germany<br>
Tel: +49 89 99 8853-0, <a href="http://www.intel.de" rel="noreferrer" target="_blank">www.intel.de</a> <<a href="http://www.intel.de" rel="noreferrer" target="_blank">http://www.intel.de</a>><br>
Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva <br>
Chairperson of the Supervisory Board: Nicole Lau<br>
Registered Office: Munich<br>
Commercial Register: Amtsgericht Muenchen HRB 186928<br>
<br>
-- <br>
Dwarf-discuss mailing list<br>
<a href="mailto:Dwarf-discuss@lists.dwarfstd.org" target="_blank">Dwarf-discuss@lists.dwarfstd.org</a><br>
<a href="https://lists.dwarfstd.org/mailman/listinfo/dwarf-discuss" rel="noreferrer" target="_blank">https://lists.dwarfstd.org/mailman/listinfo/dwarf-discuss</a><br>
</blockquote></div></div>