This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2] Improved ^c support for gdb/guile
- From: ludo at gnu dot org (Ludovic CourtÃs)
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: xdje42 at gmail dot com, gdb-patches at sourceware dot org, guile-devel at gnu dot org
- Date: Wed, 19 Feb 2014 00:08:27 +0100
- Subject: Re: [PATCH v2] Improved ^c support for gdb/guile
- Authentication-results: sourceware.org; auth=none
- References: <wrbvbwejihe dot fsf at sspiff dot org> <wrbr471jxjg dot fsf at sspiff dot org> <834n3x8o7m dot fsf at gnu dot org> <CAP9bCMSE+vNpG2nJNKNQk3QfQHV=cqRdEGmv7T3eEcgQ0cTyFQ at mail dot gmail dot com> <83y519788a dot fsf at gnu dot org> <CAP9bCMQiZurfMyU-qA9LEy_6_BOyRE1-dke93_m505EHuNZrAA at mail dot gmail dot com> <871tz0d5vc dot fsf at gnu dot org> <83iosc76kz dot fsf at gnu dot org> <87txbw9xp4 dot fsf at gnu dot org> <83a9do741d dot fsf at gnu dot org> <87ha7w71ri dot fsf at gnu dot org> <8338jg715m dot fsf at gnu dot org>
Eli Zaretskii <eliz@gnu.org> skribis:
>> From: ludo@gnu.org (Ludovic CourtÃs)
>> Cc: xdje42@gmail.com, gdb-patches@sourceware.org, guile-devel@gnu.org
>> Date: Tue, 18 Feb 2014 18:45:53 +0100
>>
>> > Sorry, I meant why that code couldn't be used when Guile was built
>> > without pthreads.
>>
>> Because with the patch Doug posted, both the SIGINT thread and GDBâs
>> main thread would call libguile.
>>
>> A different strategy would need to be used when Guile lacks pthread
>> support.
>
> Could you perhaps suggest such a different strategy?
Something similar to Guileâs own strategy when compiled without pthread
support.
However, Doug is proposing on guile-devel an approach that may solve
that more elegantly.
Thanks,
Ludoâ.