This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Fix SIGTERM signal safety (PR gdb/15358)
- From: Tom Tromey <tromey at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 25 Jul 2013 13:07:35 -0600
- Subject: Re: [patch] Fix SIGTERM signal safety (PR gdb/15358)
- References: <20130702200010 dot GA23478 at host2 dot jankratochvil dot net> <87txjivelx dot fsf at fleche dot redhat dot com> <20130725154054 dot GA22227 at host2 dot jankratochvil dot net>
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> I am roughly aware it may somehow abort Python scripts but IMO that
Jan> is what we want to do.
Ok. It wasn't clear from your note that you were aware of the effect.
It isn't obvious to me that KeyboardInterrupt is what we want on the
Python side, but I dug around in CPython a bit and didn't see any way to
do better, at least not without awful hacks.
Tom