From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Skip Montanaro Newsgroups: gmane.emacs.help Subject: Re: Running rr from gud? Date: Sun, 24 Oct 2021 21:08:12 -0500 Message-ID: References: <87sfwq9k9j.fsf@fastmail.fm> <87zgqyvu4p.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37454"; mail-complaints-to="usenet@ciao.gmane.io" To: Emanuel Berg , Help GNU Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 25 04:09:12 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mepQF-0009aC-QE for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 25 Oct 2021 04:09:11 +0200 Original-Received: from localhost ([::1]:43356 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mepQD-0006Ao-6t for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 24 Oct 2021 22:09:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55996) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mepPb-0006Ag-DZ for help-gnu-emacs@gnu.org; Sun, 24 Oct 2021 22:08:31 -0400 Original-Received: from mail-yb1-xb30.google.com ([2607:f8b0:4864:20::b30]:46035) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mepPV-0002l6-3l for help-gnu-emacs@gnu.org; Sun, 24 Oct 2021 22:08:31 -0400 Original-Received: by mail-yb1-xb30.google.com with SMTP id y80so3926863ybe.12 for ; Sun, 24 Oct 2021 19:08:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=lBBdToTZkYKFPBtX6pUdMOgPRWIT5JiDEFnP9gnb0Jo=; b=H4MNdR/bqLdCFkNl3tjkGqLkHuTQgudy7zVgg43av/4Zv1Ul1B+2yC2S4Wl8g5CAgX 2trBdKGcbx6lKe2IMw2zBYLpD/zOpH4MWr7wNMueoZUdjb3LJxki1sHBvIeEbdHQpGZn QTtEPxFfSZhLy1wqAhVaxfSEIQGA3ZigiyKEbgsXJhHEg0Xcz25NTr2MqXNr1BZwdPS/ UnCj1gKlJjpkg8vM1Jxz+5YgzohEsiw6G0eTeIan0qYw7sEfXA48wdT7gAlPkwIBfYVk dnA21/wfmddrjwDAPUx1tvdZUAnddzt0QD/c5JQ338HaECsLBdRvKfzwfJ1bq3ak543n 41qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=lBBdToTZkYKFPBtX6pUdMOgPRWIT5JiDEFnP9gnb0Jo=; b=GmwuQMEA8ab+5Wz9nTo7Q9MxV9YK1fSWIps/GZ5O4XzT7Z7Cpce5U9s1sqyLsNhkrW MiV6vjmaAOlPvIZp9rLIF85VdWuVYyTdS8uerlqTOryKf7oZTGTwI+bzignh8B0sL9o4 ysu8wxu2/Guf7ht6OemT+NE9lFA4Tpus/twvRZr3mHWeRXd3Kua+f3VAPvXosi6K1jo4 l/G8KNVT+kEblRylaFdIo5UuHlO/ONgSe0/cVXgdkn+wIDEktJQITFLrhhJrXcNJkvwh G9LB5VrKDMZES/yOgUkuFuDNYSuLnWqZga1e7Jrb9kdwe/0sj0+hzw7xHWwXBGGGG2sD mDbQ== X-Gm-Message-State: AOAM531d0WWIQjUT+Xl8BVyGEVdL0MfNSSmqQvgP9OysD/A/mZ+fPO2x m/xMNFUl2nNkzr/4V9Y39CGfQB5lcsFk6SWTQXtyBsJfS4S0 X-Google-Smtp-Source: ABdhPJzTqT1cP9N4TWTyU6bxktRQ6916vPFOPKm2qmT2+sxR7yFQDNrq3p0sV3NJlQgRLaiAXHtMAt9kfjOkarnW7a4= X-Received: by 2002:a25:8146:: with SMTP id j6mr3949997ybm.471.1635127703314; Sun, 24 Oct 2021 19:08:23 -0700 (PDT) In-Reply-To: <87zgqyvu4p.fsf@zoho.eu> Received-SPF: pass client-ip=2607:f8b0:4864:20::b30; envelope-from=skip.montanaro@gmail.com; helo=mail-yb1-xb30.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:134132 Archived-At: > > If you don't mind ... what is this thread about? > rr is a deterministic debugger. More details here: https://rr-project.org/ I'm interested in it because there is a serious effort afoot to remove Python's global interpreter lock (GIL). Its presence keeps more than one Python-level from executing bytecode at the same time. The flip side is that the GIL can hide mistakes related to concurrent data access. Once the GIL is gone, some/many/most of those mistakes will be revealed. The non-deterministic nature of multi-threaded execution makes it more difficult to debug such code. rr looks like it might help, so I'm considering it as a gdb adjunct/replacement, and since I debug C code in Emacs I'd like to use rr in that environment. Sorry for the long-winded explanation. Skip