🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #7410

Kill a PROCESS?

#7410
From: Jens Gelhar
Date: Wed, 12 Dec 1990 14:49
22 lines
1253 bytes
I am working on a Debugger and have got a litle (?) Problem:

Is it possible to kill a DOS Process that was created with CreateProc()?
I tried to kill its Exec task by using RemTask on it's task Structure,
but it seems that an "empty" DOS Process still lives (and it's stack
memory doesn't get deallocated). Is there an other way?

I made up a very brutal method (but did not try it :-) ): use SPReg from
the task structure and set the return address on the stack to the
Exit() function (only when the Process is in running/ready state, of 
course). Do you think that might work?

CU,

Jens.


-- 
   /   /  .  ___    ___   ___   /     * The Himpel Software Systems Company
  /---/  /  / / /  /  /  /__/  /      * Jens Gelhar - himpel@uni-paderborn.de
 /   /  /  / / /  /__/  /___  /_      * Support for Kick-Ass + Kick-Pascal 
Life! Don't talk / to me about life!  * >>>   THE HIMPIRE STRIKES BACK   <<<
Technical Details
Message-ID: <1990Dec12.144952.838@uni-paderborn.de>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!unido!pbinfo!himpel

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!unido!pbinfo!himpel
From: himpel@uni-paderborn.de (Jens Gelhar)
Newsgroups: comp.sys.amiga.tech
Subject: Kill a PROCESS?
Message-ID: <1990Dec12.144952.838@uni-paderborn.de>
Date: 12 Dec 90 14:49:52 GMT
Organization: Uni-GH Paderborn
Lines: 22