guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 02/13] script language API for GDB: extension.[ch]


From: Tom Tromey
Subject: Re: [PATCH v2 02/13] script language API for GDB: extension.[ch]
Date: Tue, 07 Jan 2014 20:17:32 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

>>>>> "Ludovic" == Ludovic Courtès <address@hidden> writes:

Ludovic> I guess this is another limitation of Guile’s current signal handling
Ludovic> strategy, and something we should fix.

I think it seems reasonable for Guile itself, but yeah, it makes it
harder to integrate into gdb.  I was pleasantly surprised that Python's
approach was similar enough to gdb's that we could easily integrate the
two.

The Python approach -- basically just setting a per-signal flag that is
checked in the Python equivalent of SCM_TICK -- might be nice for Guile;
however Guile has better threading support, so some additional work may
be required.

Also, at least for gdb it may make sense to mask SIGINT and SIGCHLD in
new Guile threads, if that is possible.

Tom



reply via email to

[Prev in Thread] Current Thread [Next in Thread]