This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: SIGINT handling for rdi target


On Thu, Jul 27, 2000 at 05:28:03PM -0700, Fabrice Gautier wrote:

> > > I'm using a EmbededICE device with an ARM board and I connect
> > > using the RDI target. The problem is that there I can't
> > > interrupt the target from gdb. Looking in the code, I didn't
> > > saw any SIGINT handling in remote-rdi.c as there is remote.c
> > > for the serial target.
> > > 
> > > Does anyone know why? And If this is related to my problem
> > 
> > What is your host system?  Linux?  Solaris?  Windows?
> 
> My host is WinNT + Cygwin. 

[...]

> When launching only the cmd line interface (gdb -nw) ctrl+c works.
> AND
> With the GUI interface, sending an explicit sigint to the process (kill
> -sigint pid) works as it should. With the message RDI_execute: you pressed
> Escape.
> 
> So it seems this is only a problem with the GUI.

I've run into this also.  I can do a "kill -INT" on the gdb
process.  This stops the remote, and then the Insight GUI pops
up a dialog box complaining about getting a signal.  When I
acknowlege the dialog box, the GUI then just locks up.

Anybody figure out how to get this to work?

-- 
Grant Edwards
grante@visi.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]