Re: [PATCH] Improved ^c support for gdb/guile

2014-02-17 Thread Ludovic Courtès
Mark Kettenis skribis: > Didn't realize Guile used threads. I guess that's safe if the > interpreter makes sure it never calls into GDB code concurrently. Actually :-), Guile comes with a REPL server, which clients (such as Geiser, an Emacs mode for Scheme) can connect to. But the server runs

Re: [PATCH] Improved ^c support for gdb/guile

2014-02-17 Thread Mark Kettenis
> From: Doug Evans > Date: Mon, 17 Feb 2014 02:39:25 -0500 > > Hi. > > Here's my modest contribution to the Guile anniversary potluck. > > The patch to selftest-support.exp could be done differently, > I've tried to keep it simple. The problem is that gdb with guile > will get SIGPWR from time

[PATCH] Improved ^c support for gdb/guile

2014-02-16 Thread Doug Evans
Hi. Here's my modest contribution to the Guile anniversary potluck. The patch to selftest-support.exp could be done differently, I've tried to keep it simple. The problem is that gdb with guile will get SIGPWR from time to time when Guile's GC kicks in, and we need this to not alter test behavio