Interrupting target execution on Linux using GDB/MI

Marc Khouzam marc.khouzam@ericsson.com
Wed Apr 1 17:14:00 GMT 2009


We've just had a discussion about this as a bug to Eclipse CDT.
You may find some of the information useful.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=265483
 

> -----Original Message-----
> From: gdb-owner@sourceware.org 
> [mailto:gdb-owner@sourceware.org] On Behalf Of James Milne
> Sent: Wednesday, April 01, 2009 12:45 PM
> To: Joel Brobecker
> Cc: gdb@sourceware.org
> Subject: Re: Interrupting target execution on Linux using GDB/MI
> 
> On 1 Apr 2009, at 17:41, Joel Brobecker wrote:
> >> What is the correct procedure when using GDB/MI to interrupt the
> >> execution of the inferior process?
> >
> > There is a GDB/MI command to interrupt the execution of 
> your program.
> 
> I attempted to use that, but it does not work when GDB is being used  
> synchronously. It only works when you are connecting to a gdbserver  
> and GDB itself is running "asynchronously".
> 
> Certainly it doesn't work on OS X when I originally tried it, which  
> lead me to issuing SIGINT myself.
> 
> Regards
> James Milne
> FilmLight Ltd.
> 



More information about the Gdb mailing list