Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* why SIGINT top stop the process, why was not SIGSTOP used ?
@ 2009-02-10 16:35 paawan oza
  2009-02-10 16:42 ` Daniel Jacobowitz
  0 siblings, 1 reply; 2+ messages in thread
From: paawan oza @ 2009-02-10 16:35 UTC (permalink / raw)
  To: gdb

Hello,

I have been changing gdb.
as gdb uses ctrl+c (send SIGINT) to stop the process......
I am also doing the same.

but I have observed with gdb-6.7
that if process has blocked SIGINT, then actually gdb will not get SIGINT back.

I think this mechanism has been there for a long time.

my doubt is : why is this design of SIGINT?

why can not we use SIGSTOP ? because process cant block SIGSTOP.
though default gdb is configured to pass signal SIGSTOP (we can set it to 0)

but instead of SIGINT, cant we use SIGSTOP to stop the process ?

Regards,
..Paawan.

















      


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

end of thread, other threads:[~2009-02-10 16:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-10 16:35 why SIGINT top stop the process, why was not SIGSTOP used ? paawan oza
2009-02-10 16:42 ` Daniel Jacobowitz

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