forked from KolibriOS/kolibrios
69.4 and 69.5 now do not require debugging privileges
git-svn-id: svn://kolibrios.org@667 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
bafb2d78f4
commit
eec9fdbabb
@ -79,8 +79,11 @@ debug_terminate:
|
|||||||
debug_suspend:
|
debug_suspend:
|
||||||
; in: ebx=pid
|
; in: ebx=pid
|
||||||
; destroys eax,ebx
|
; destroys eax,ebx
|
||||||
call get_debuggee_slot
|
cli
|
||||||
jc .ret
|
mov eax, ebx
|
||||||
|
call pid_to_slot
|
||||||
|
test eax, eax
|
||||||
|
jz .ret
|
||||||
mov bl, [CURRENT_TASK+eax+TASKDATA.state] ; process state
|
mov bl, [CURRENT_TASK+eax+TASKDATA.state] ; process state
|
||||||
test bl, bl
|
test bl, bl
|
||||||
jz .1
|
jz .1
|
||||||
@ -110,9 +113,12 @@ do_resume:
|
|||||||
debug_resume:
|
debug_resume:
|
||||||
; in: ebx=pid
|
; in: ebx=pid
|
||||||
; destroys eax,ebx
|
; destroys eax,ebx
|
||||||
call get_debuggee_slot
|
cli
|
||||||
jc .ret
|
mov eax, ebx
|
||||||
call do_resume
|
call pid_to_slot
|
||||||
|
test eax, eax
|
||||||
|
jz .ret
|
||||||
|
call do_resume
|
||||||
.ret: sti
|
.ret: sti
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
@ -3933,8 +3933,8 @@ Architecture Software Developer's Manual, Volume 3, Appendix B);
|
|||||||
…᫨ ®β« ¤η¨<CEB7> ν⮣® ¥ ε®η¥β, ® ¤®«¦¥ ―।Ά ΰ¨β¥«μ® ®β<C2AE>«ξη¨βμαο
|
…᫨ ®β« ¤η¨<CEB7> ν⮣® ¥ ε®η¥β, ® ¤®«¦¥ ―।Ά ΰ¨β¥«μ® ®β<C2AE>«ξη¨βμαο
|
||||||
―®¤δγ<EFBFBD>樥© 3.
|
―®¤δγ<EFBFBD>樥© 3.
|
||||||
|
|
||||||
‚α¥ ―®¤δγ<CEB3>樨 ―ਬ¥¨¬λ β®«μ<C2AB>® <20> ―ΰ®ζ¥αα ¬/―®β®<CEB2> ¬, § ―γι¥λ¬
|
‚α¥ ―®¤δγ<CEB3>樨, <20>஬¥ 4 ¨ 5, ―ਬ¥¨¬λ β®«μ<C2AB>® <20> ―ΰ®ζ¥αα ¬/―®β®<CEB2> ¬,
|
||||||
¨§ β¥<CEB2>γι¥£® δγ<CEB3>樥© 70 α γαβ ®Ά«¥λ¬ δ« £®¬ ®β« ¤<C2A0>¨.
|
§ ―γι¥λ¬ ¨§ β¥<CEB2>γι¥£® δγ<CEB3>樥© 70 α γαβ ®Ά«¥λ¬ δ« £®¬ ®β« ¤<C2A0>¨.
|
||||||
<EFBFBD>β« ¤<EFBFBD> ¬®£®―®β®ηλε ―ΰ®£ΰ ¬¬ ―®<E28095> ¥ ―®¤¤¥ΰ¦¨Ά ¥βαο.
|
<EFBFBD>β« ¤<EFBFBD> ¬®£®―®β®ηλε ―ΰ®£ΰ ¬¬ ―®<E28095> ¥ ―®¤¤¥ΰ¦¨Ά ¥βαο.
|
||||||
<EFBFBD>®«λ© α―¨α®<CEB1> ―®¤δγ<CEB3>権:
|
<EFBFBD>®«λ© α―¨α®<CEB1> ―®¤δγ<CEB3>権:
|
||||||
* ―®¤δγ<CEB3>ζ¨ο 0 - ®―।¥«¨βμ ®΅« αβμ ¤ λε ¤«ο ®β« ¤®ηλε α®®΅ι¥¨©
|
* ―®¤δγ<CEB3>ζ¨ο 0 - ®―।¥«¨βμ ®΅« αβμ ¤ λε ¤«ο ®β« ¤®ηλε α®®΅ι¥¨©
|
||||||
@ -4032,7 +4032,7 @@ Architecture Software Developer's Manual, Volume 3, Appendix B);
|
|||||||
* …᫨ ―ΰ®ζ¥αα ΅λ« ―ਮαβ ®Ά«¥, ® Ά®§®΅®Ά«ο¥β Άλ―®«¥¨¥.
|
* …᫨ ―ΰ®ζ¥αα ΅λ« ―ਮαβ ®Ά«¥, ® Ά®§®΅®Ά«ο¥β Άλ―®«¥¨¥.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
==== ”γ<CEB3>ζ¨ο 69, ―®¤δγ<CEB3>ζ¨ο 4 - ―ਮαβ ®Ά¨βμ ®β« ¦¨Ά ¥¬λ© ―®β®<EFBFBD>. ====
|
=========== ”γ<CEB3>ζ¨ο 69, ―®¤δγ<CEB3>ζ¨ο 4 - ―ਮαβ ®Ά¨βμ ―®β®<CEB2>. ==========
|
||||||
======================================================================
|
======================================================================
|
||||||
<EFBFBD> ΰ ¬¥βΰλ:
|
<EFBFBD> ΰ ¬¥βΰλ:
|
||||||
* eax = 69 - ®¬¥ΰ ―ΰ®ζ¥αα
|
* eax = 69 - ®¬¥ΰ ―ΰ®ζ¥αα
|
||||||
@ -4040,13 +4040,10 @@ Architecture Software Developer's Manual, Volume 3, Appendix B);
|
|||||||
* ecx = ¨¤¥β¨δ¨<CEB4> β®ΰ
|
* ecx = ¨¤¥β¨δ¨<CEB4> β®ΰ
|
||||||
‚®§Άΰ ι ¥¬®¥ § 票¥:
|
‚®§Άΰ ι ¥¬®¥ § 票¥:
|
||||||
* δγ<CEB3>ζ¨ο ¥ Ά®§Άΰ ι ¥β § 票ο
|
* δγ<CEB3>ζ¨ο ¥ Ά®§Άΰ ι ¥β § 票ο
|
||||||
‡ ¬¥η ¨ο:
|
|
||||||
* <20>ΰ®ζ¥αα ¤®«¦¥ ΅λβμ § £ΰ㦥 ¤«ο ®β« ¤<C2A0>¨ (<28> <EFBFBD> γ<> § ® Ά
|
|
||||||
®΅ι¥¬ ®―¨α ¨¨).
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
====================== ”γ<CEB3>ζ¨ο 69, ―®¤δγ<CEB3>ζ¨ο 5 ======================
|
====================== ”γ<CEB3>ζ¨ο 69, ―®¤δγ<CEB3>ζ¨ο 5 ======================
|
||||||
============ ‚®§®΅®Ά¨βμ Άλ―®«¥¨¥ ®β« ¦¨Ά ¥¬®£® ―®β®<EFBFBD> . ============
|
=================== ‚®§®΅®Ά¨βμ Άλ―®«¥¨¥ ―®β®<CEB2> . ===================
|
||||||
======================================================================
|
======================================================================
|
||||||
<EFBFBD> ΰ ¬¥βΰλ:
|
<EFBFBD> ΰ ¬¥βΰλ:
|
||||||
* eax = 69 - ®¬¥ΰ δγ<CEB3>樨
|
* eax = 69 - ®¬¥ΰ δγ<CEB3>樨
|
||||||
@ -4054,9 +4051,6 @@ Architecture Software Developer's Manual, Volume 3, Appendix B);
|
|||||||
* ecx = ¨¤¥β¨δ¨<CEB4> β®ΰ
|
* ecx = ¨¤¥β¨δ¨<CEB4> β®ΰ
|
||||||
‚®§Άΰ ι ¥¬®¥ § 票¥:
|
‚®§Άΰ ι ¥¬®¥ § 票¥:
|
||||||
* δγ<CEB3>ζ¨ο ¥ Ά®§Άΰ ι ¥β § 票ο
|
* δγ<CEB3>ζ¨ο ¥ Ά®§Άΰ ι ¥β § 票ο
|
||||||
‡ ¬¥η ¨ο:
|
|
||||||
* <20>ΰ®ζ¥αα ¤®«¦¥ ΅λβμ § £ΰ㦥 ¤«ο ®β« ¤<C2A0>¨ (<28> <EFBFBD> γ<> § ® Ά
|
|
||||||
®΅ι¥¬ ®―¨α ¨¨).
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
====================== ”γ<CEB3>ζ¨ο 69, ―®¤δγ<CEB3>ζ¨ο 6 ======================
|
====================== ”γ<CEB3>ζ¨ο 69, ―®¤δγ<CEB3>ζ¨ο 6 ======================
|
||||||
|
@ -3899,8 +3899,9 @@ When debugger terminates, all debugged processes are killed.
|
|||||||
If debugger does not want this, it must previously detach by
|
If debugger does not want this, it must previously detach by
|
||||||
subfunction 3.
|
subfunction 3.
|
||||||
|
|
||||||
All subfunctions are applicable only to processes/threads started
|
All subfunctions except 4 and 5 are applicable only to
|
||||||
from the current by function 70 with set debugging flag.
|
processes/threads started from the current by function 70
|
||||||
|
with set debugging flag.
|
||||||
Debugging of multithreaded programs is not supported yet.
|
Debugging of multithreaded programs is not supported yet.
|
||||||
The full list of subfunctions:
|
The full list of subfunctions:
|
||||||
* subfunction 0 - define data area for debug messages
|
* subfunction 0 - define data area for debug messages
|
||||||
@ -3998,7 +3999,7 @@ Remarks:
|
|||||||
* If the process was suspended, it resumes execution.
|
* If the process was suspended, it resumes execution.
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
======== Function 69, subfunction 4 - suspend debugged thread. =======
|
============= Function 69, subfunction 4 - suspend thread. ===========
|
||||||
======================================================================
|
======================================================================
|
||||||
Parameters:
|
Parameters:
|
||||||
* eax = 69 - function number
|
* eax = 69 - function number
|
||||||
@ -4006,12 +4007,9 @@ Parameters:
|
|||||||
* ecx = thread identifier
|
* ecx = thread identifier
|
||||||
Returned value:
|
Returned value:
|
||||||
* function does not return value
|
* function does not return value
|
||||||
Remarks:
|
|
||||||
* Process must be loaded for debugging (as is shown in
|
|
||||||
general description).
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
======== Function 69, subfunction 5 - resume debugged thread. ========
|
============= Function 69, subfunction 5 - resume thread. ============
|
||||||
======================================================================
|
======================================================================
|
||||||
Parameters:
|
Parameters:
|
||||||
* eax = 69 - function number
|
* eax = 69 - function number
|
||||||
@ -4019,9 +4017,6 @@ Parameters:
|
|||||||
* ecx = thread identifier
|
* ecx = thread identifier
|
||||||
Returned value:
|
Returned value:
|
||||||
* function does not return value
|
* function does not return value
|
||||||
Remarks:
|
|
||||||
* Process must be loaded for debugging (as is shown in
|
|
||||||
general description).
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
= Fucntion 69, subfunction 6 - read from memory of debugged process. =
|
= Fucntion 69, subfunction 6 - read from memory of debugged process. =
|
||||||
|
Loading…
Reference in New Issue
Block a user