bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SIGINT sent to executable even if Pass to progam is No


From: Sushrut Sardeshmukh
Subject: SIGINT sent to executable even if Pass to progam is No
Date: Sat, 24 Jan 2009 08:37:12 -0800 (PST)
User-agent: G2/1.0

I am debugging multithreaded executable on Linux. Code is compiled
with g++

gdb is set not to pass SIGINT to executable.
(gdb) info signal
Signal        Stop      Print   Pass to program Description

SIGHUP        Yes       Yes     Yes             Hangup
SIGINT        Yes       Yes     No              Interrupt

However, when I press Interrupt button in ddd, executable gets SIGINT.
(executable is set to handle SIGINT)

Can you please help me in setting gdb.  How can I stop the execution
but not send SIGINT to executable ?


Here is version info about gdb
gdb --version
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/
gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show
copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".


reply via email to

[Prev in Thread] Current Thread [Next in Thread]