This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: pthread_sigmask and gdb
- From: Andreas Schwab <schwab at suse dot de>
- To: jjaimon at yahoo dot com
- Cc: gdb at sourceware dot org
- Date: Mon, 06 Nov 2006 15:04:46 +0100
- Subject: Re: pthread_sigmask and gdb
- References: <454F3EB5.7010700@Yahoo.com>
Jaimon Jose <jjaimon@Yahoo.com> writes:
> Still, SIGINT is passed to the program being debugged instead of GDB
> handling this. I have attached a sample program where I can reproduce
> this. I tried this on Solaris and HPUX. Once I attach to the running
> program, I can interrupt the program using "Ctrl-C". But, this doesn't
> work on gdb ( on SLES, SuSE 10.1 and RHAS 3.0 - gdb 6.4 and 6.0 ) and
> the signal is delivered to the running program. Any help is appreciated.
Looks like a kernel bug. Since gdb does not receive any notification of
the signal it cannot do anything about that.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."