[fpc-devel] What is / Where originates : FLAG_TRACE_BIT = $100; { our own invention } IN rtl\win\wininc\defines.inc
Dmitry Boyarintsev
skalogryz.lists at gmail.com
Tue Apr 1 03:58:24 CEST 2014
http://en.wikipedia.org/wiki/FLAGS_register
It's a trap (single-step) flag. to stop after each instruction. (IIRC with
some exceptions).
I'd think it should be AMD64 compatible.
thanks,
Dmitry
On Mon, Mar 31, 2014 at 6:17 PM, Martin Frb <lazarus at mfriebe.de> wrote:
> C:\FPC\SVN\fpc_2.6.4\rtl\win\wininc\defines.inc
>
> line 5669 (in 3.6.4)
> { our own invention }
> FLAG_TRACE_BIT = $100;
>
> This is only there for 32 bit and wince, but not for win64.
>
> But the problem is finding out what it actually means. All googling has
> not brought any definition to it.
>
> From usage in old code in fpdebug, it is given as flag to
>
> Context^.EFlags := Context^.EFlags or FLAG_TRACE_BIT;
> if not SetThreadContext(Handle, Context^)
>
>
> An ideas?
>
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20140331/42d8571a/attachment.html>
More information about the fpc-devel
mailing list