This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: GDB-Guile vs. libgc 7.4 marker threads
- From: Eli Zaretskii <eliz at gnu dot org>
- To: ludo at gnu dot org (Ludovic CourtÃs)
- Cc: xdje42 at gmail dot com, tillmann at selfnet dot de, gdb-patches at sourceware dot org, wingo at pobox dot com
- Date: Mon, 12 May 2014 16:39:10 +0300
- Subject: Re: GDB-Guile vs. libgc 7.4 marker threads
- Authentication-results: sourceware.org; auth=none
- References: <a3c401a4a9dd02c97721c4ef99a7e652 at wh-stuttgart dot net> <CAP9bCMTjnYu_d2H0SbpHp+TqvEBYxsyXZXi2Zj6iJLwTzrO58A at mail dot gmail dot com> <f30b0b3709471cf98cf4c7a2454e9043 at wh-stuttgart dot net> <83ha54zrry dot fsf at gnu dot org> <CAP9bCMRfSeONscGbWyfYmyW6CkSJv-f4MhU6iACKQwukvS7oZQ at mail dot gmail dot com> <87wqdr1l61 dot fsf_-_ at gnu dot org>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: ludo@gnu.org (Ludovic CourtÃs)
> Cc: Eli Zaretskii <eliz@gnu.org>, Tillmann Karras <tillmann@selfnet.de>, "gdb-patches\@sourceware.org" <gdb-patches@sourceware.org>, Andy Wingo <wingo@pobox.com>
> Date: Mon, 12 May 2014 10:00:22 +0200
>
> > https://lists.gnu.org/archive/html/guile-commits/2014-04/msg00051.html
>
> Yes, but note that this commit is for Guile 2.2.
>
> That said, although Guile 2.0 builds and runs fine with 7.4
Are you saying that Guile 2.0.x does not suffer from the bug in
libgc-7.4.0?
> I noticed that GDB-Guile is confused when there are several marker
> threads. Thus, we have to set GC_MARKERS=1 when running Guile-GDB
> with Guile 2.0 on libgc 7.4.
Are you sure this confusion is related to the same libgc issue?
Should we talk to libgc developers about that?
> Probably the GC_MARKERS hack linked above should be applied to GDB as
> well. WDYT?
If we are sure this solves the problem, IMO yes. But it would be nice
to try to have a new libgc release that is free from this problem, if
possible. Also, maybe we should document in the same comment what, if
anything, does this restriction mean for GDB-Guile users.
Thanks.