www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/05/03:19:22

X-Authentication-Warning: ieva01.lanet.lv: pavenis owned process doing -bs
Date: Tue, 5 Jan 1999 10:16:33 +0200 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: AcidBolt <acidbolt AT netvision DOT net DOT il>
cc: djgpp AT delorie DOT com
Subject: Re: RHIDE ctr-break
In-Reply-To: <3691293E.2348913F@netvision.net.il>
Message-ID: <Pine.A41.4.05.9901050946140.29174-100000@ieva01.lanet.lv>
MIME-Version: 1.0
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019