This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/13265] SIGINT handling
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 10 Jan 2012 20:52:18 +0000
- Subject: [Bug python/13265] SIGINT handling
- Auto-submitted: auto-generated
- References: <bug-13265-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=13265
--- Comment #2 from Tom Tromey <tromey at redhat dot com> 2012-01-10 20:52:18 UTC ---
For a real review you would have to email to gdb-patches.
I think the cleanup-creating function should pass the old
signal handler as an argument to the cleanup function.
That way you can stack them without dealing with the
calls to gdbpy_restore_sigint_handler when making a cleanup.
I haven't looked into this area of gdb much; so I don't know
what to suggest about interrupting Python while the inferior
is running.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.