<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 01/04/2014 18:44, Dmitry Boyarintsev
wrote:<br>
</div>
<blockquote
cite="mid:CAMpTZreFwpY79D4O+UMxTDycBUG6Ftdr-a9BMu=OfdCcPP_dvw@mail.gmail.com"
type="cite">
<div dir="ltr">To add to that.
<div><br>
<div>*nixes are using ptrace() function and PTRACE_SINGLESTEP
request.</div>
<div class="gmail_extra">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. <br>
<div><br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
I was mainly about win64. <br>
I had mainly googled it as an argument to the windows API (which was
where I had found it in fpdebug code), and I found nothing on msdn.<br>
<br>
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?<br>
<br>
<br>
<blockquote
cite="mid:CAMpTZreFwpY79D4O+UMxTDycBUG6Ftdr-a9BMu=OfdCcPP_dvw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Mon, Mar 31, 2014 at 9:58 PM,
Dmitry Boyarintsev <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:skalogryz.lists@gmail.com"
target="_blank">skalogryz.lists@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div><a moz-do-not-send="true"
href="http://en.wikipedia.org/wiki/FLAGS_register"
target="_blank">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>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>