Re: [fpc-devel] What is / Where originates : FLAG_TRACE_BIT = $100; { our own invention } IN rtl\win\wininc\defines.inc

2014-04-01 Thread Dmitry Boyarintsev
To add to that. *nixes are using ptrace() function and PTRACE_SINGLESTEP request. I do believe that setting EFlag (FLAG_TRACE_BIT for x86 machines) would work for *nix systems (didn't try myself), but respecting defined API is always a better approach. thanks, Dmitry On Mon, Mar 31, 2014 at

Re: [fpc-devel] What is / Where originates : FLAG_TRACE_BIT = $100; { our own invention } IN rtl\win\wininc\defines.inc

2014-04-01 Thread Martin Frb
On 01/04/2014 18:44, Dmitry Boyarintsev wrote: To add to that. *nixes are using ptrace() function and PTRACE_SINGLESTEP request. I do believe that setting EFlag (FLAG_TRACE_BIT for x86 machines) would work for *nix systems (didn't try myself), but respecting defined API is always a better

Re: [fpc-devel] What is / Where originates : FLAG_TRACE_BIT = $100; { our own invention } IN rtl\win\wininc\defines.inc

2014-04-01 Thread Dmitry Boyarintsev
On Tue, Apr 1, 2014 at 1:47 PM, Martin Frb laza...@mfriebe.de wrote: Anyway, If it exists for 64 bits, should/can it be added to rtl\win\wininc\defines.inc same as it is for 32 bit? Imho, no. At least not in rtl defines. 1) it's not part of originating Windows headers (if these are used as