This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB does not respond to CTRL+Z and CTRL+C
- From: Daniel Jacobowitz <drow at false dot org>
- To: Christoph Bartoschek <bartoschek at or dot uni-bonn dot de>
- Cc: gdb at sourceware dot org
- Date: Tue, 20 Jun 2006 13:03:38 -0400
- Subject: Re: GDB does not respond to CTRL+Z and CTRL+C
- References: <200606201827.25482.bartoschek@or.uni-bonn.de>
On Tue, Jun 20, 2006 at 06:27:25PM +0200, Christoph Bartoschek wrote:
> Hi,
>
> when I attach to a process and continue it I cannot stop it again by pressing
> CTRL+Z or CTRL+C. Gdb does not respond to these signals.
>
> To be able to stop intercept debugging I have to switch to another console:
>
> kill -STOP <pid of gdb>
>
> and then put it back into foreground.
>
> After this sequence gdb responds to CTRL+Z and CTRL+C. What could be wrong?
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)?
--
Daniel Jacobowitz
CodeSourcery