This is the mail archive of the gdb@sourceware.org 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]
Other format: [Raw text]

Re: GDB does not respond to CTRL+Z and CTRL+C


On Tue, Jun 20, 2006 at 08:02:05PM +0200, Christoph Bartoschek wrote:
> Am Dienstag 20 Juni 2006 19:03 schrieb Daniel Jacobowitz:
> 
> > It works for me; does it work for you if you debug a simple process (I
> > usually use /bin/cat when I want something I can attach to)?
> 
> It works when I attach to cat or tail -f but not when I attach to our 
> programm.

Then it is likely that your program is blocking the signal.  GDB
doesn't handle either directly; it forwards them to the program and
lets the OS handle delivery.

-- 
Daniel Jacobowitz
CodeSourcery


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