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

2014-02-17 Thread Doug Evans
[+ guile-devel] On Mon, Feb 17, 2014 at 12:43 PM, Eli Zaretskii wrote: >> From: Doug Evans >> Date: Mon, 17 Feb 2014 15:26:27 -0500 >> >> Unworkable-as-is optimization trying to avoid queueing asyncs. Blech. >> >> I'm still seeing intermittent testsuite failures because Guile is >> getting an u

[PATCH] Add GDB support

2014-02-17 Thread Ludovic Courtès
Hello Guilers! I’ve polished my potluck dish for inclusion into Guile proper. So the first patch below adds (system base type), which does type tag decoding in a backend-independent manner. The guts of it is ‘scm->object’, which takes an SCM bit pattern and returns the corresponding Scheme objec

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

2014-02-17 Thread Eli Zaretskii
> Date: Mon, 17 Feb 2014 12:59:22 -0800 > From: Doug Evans > Cc: "gdb-patc...@sourceware.org" , > guile-devel@gnu.org > > >> +void > >> +gdbscm_initialize_sigint (void) > >> +{ > >> + siscm_sigint_pipe[0] = siscm_sigint_pipe[1] = -1; > >> + > >> + if (!SCM_USE_PTHREAD_THREADS) > >> +{ > >>

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

2014-02-17 Thread Doug Evans
On Mon, Feb 17, 2014 at 1:13 PM, Eli Zaretskii wrote: >> Date: Mon, 17 Feb 2014 12:59:22 -0800 >> From: Doug Evans >> Cc: "gdb-patc...@sourceware.org" , >> guile-devel@gnu.org >> >> >> +void >> >> +gdbscm_initialize_sigint (void) >> >> +{ >> >> + siscm_sigint_pipe[0] = siscm_sigint_pipe[1] = -1