X-Authentication-Warning: ieva01.lanet.lv: pavenis owned process doing -bs Date: Tue, 5 Jan 1999 10:16:33 +0200 (WET) From: Andris Pavenis To: AcidBolt cc: djgpp AT delorie DOT com Subject: Re: RHIDE ctr-break In-Reply-To: <3691293E.2348913F@netvision.net.il> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Mon, 4 Jan 1999, AcidBolt wrote: > Hi > > Does someone know how i can use rhide so when i run a program and press > ctr+break > it will get out of the program and show me where it stoped like in > borlandc? > It is not so easy. This possibility is disabled in DJGPP version of rhide as libdbg.a from both djdev201.zip and djdev202.zip does not provide hooking exceptions needed for this. Handling SIGINT is enabled in Linux version of rhide-1.4.7 but that is different topic. To get exceptions working (including SIGINT) in rhide one should - adding exceptions support to src/debug/common/dbgcom.c (djlsr202.zip). - rebuild rhide with modified libdbg.a (I don't know if libgdb.a available from Robert's Hoehne homepage will allow this but I had to additionally hack gdb-4.17 to get this working) I (and not only I) have made some experiments in that direction but under Win9X about 5% of attempts to interrupt program execution with Ctrl-C causes program freezing. Andris