<div dir="ltr"><div><a href="http://en.wikipedia.org/wiki/FLAGS_register">http://en.wikipedia.org/wiki/FLAGS_register</a><br><br></div>It's a trap (single-step) flag. to stop after each instruction. (IIRC with some exceptions).<br>
I'd think it should be AMD64 compatible. <br><br>thanks,<br>Dmitry<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 31, 2014 at 6:17 PM, Martin Frb <span dir="ltr"><<a href="mailto:lazarus@mfriebe.de" target="_blank">lazarus@mfriebe.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">C:\FPC\SVN\fpc_2.6.4\rtl\win\<u></u>wininc\defines.inc<br>
<br>
line 5669 (in 3.6.4)<br>
{ our own invention }<br>
FLAG_TRACE_BIT = $100;<br>
<br>
This is only there for 32 bit and wince, but not for win64.<br>
<br>
But the problem is finding out what it actually means. All googling has not brought any definition to it.<br>
<br>
>From usage in old code in fpdebug, it is given as flag to<br>
<br>
Context^.EFlags := Context^.EFlags or FLAG_TRACE_BIT;<br>
if not SetThreadContext(Handle, Context^)<br>
<br>
<br>
An ideas?<br>
<br>
______________________________<u></u>_________________<br>
fpc-devel maillist - <a href="mailto:fpc-devel@lists.freepascal.org" target="_blank">fpc-devel@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel" target="_blank">http://lists.freepascal.org/<u></u>cgi-bin/mailman/listinfo/fpc-<u></u>devel</a><br>
</blockquote></div><br></div>