Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* SIGINT sent to executable
@ 2009-02-01  4:18 Sushrut Sardeshmukh
  2009-02-02  7:06 ` teawater
  0 siblings, 1 reply; 2+ messages in thread
From: Sushrut Sardeshmukh @ 2009-02-01  4:18 UTC (permalink / raw)
  To: gdb

I searched google before sending this email. But could not find the
solution to the problem :(

I am using ddd+gdb on Linux to debug executable which handles SIGINT
to do graceful shutdown.

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
and it does graceful shutdown. Totalview debugger is able to interrupt
execution. So it must be something wrong with the way I am setting up
gdb.

How can I interrupt the execution and get gdb prompt (to set another
breapoint/ watchpoint) 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".


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-02  7:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-01  4:18 SIGINT sent to executable Sushrut Sardeshmukh
2009-02-02  7:06 ` teawater

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox