[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gdb-bugs
Subject:    SIGINT sent to executable even if Pass to progam is No
From:       Sushrut Sardeshmukh <bestbrain () gmail ! com>
Date:       2009-01-24 16:37:12
Message-ID: 6f8a22a0-1318-476b-bc63-27b35f893307 () g1g2000pra ! googlegroups ! com
[Download RAW message or body]

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".

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic