From: Skip Montanaro <skip.montanaro@gmail.com>
To: Emanuel Berg <moasenwood@zoho.eu>,
Help GNU Emacs <help-gnu-emacs@gnu.org>
Subject: Re: Running rr from gud?
Date: Sun, 24 Oct 2021 21:08:12 -0500 [thread overview]
Message-ID: <CANc-5UzkOY5OpzdE70JFbZf0mDUnzDvzoGH=sTK7=RKypOP1Yw@mail.gmail.com> (raw)
In-Reply-To: <87zgqyvu4p.fsf@zoho.eu>
>
> 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
next prev parent reply other threads:[~2021-10-25 2:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-24 20:44 Running rr from gud? Skip Montanaro
2021-10-24 21:35 ` Joost Kremers
2021-10-24 22:44 ` Skip Montanaro
2021-10-25 0:13 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-25 2:08 ` Skip Montanaro [this message]
2021-10-25 7:48 ` tomas
2021-10-25 12:53 ` Skip Montanaro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CANc-5UzkOY5OpzdE70JFbZf0mDUnzDvzoGH=sTK7=RKypOP1Yw@mail.gmail.com' \
--to=skip.montanaro@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=moasenwood@zoho.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).