From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.devel Subject: Re: Native compilation on MPS branch Date: Thu, 25 Apr 2024 01:50:51 -0400 Message-ID: References: <86wmor6owq.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30623"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 25 07:51:12 2024 Return-path: Envelope-to: ged-emacs-devel@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 1rzs0l-0007li-D7 for ged-emacs-devel@m.gmane-mx.org; Thu, 25 Apr 2024 07:51:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rzs0W-0005Gs-3e; Thu, 25 Apr 2024 01:50:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rzs0S-0005GP-5a for emacs-devel@gnu.org; Thu, 25 Apr 2024 01:50:52 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rzs0R-0008WT-T8; Thu, 25 Apr 2024 01:50:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=bwX1v9L7JiIdOUySvPq47Rs7AEzvCEpvCNlpT591eK4=; b=GHR0rq2bg6Ob4o9WOwJo zCJ/LYEe/ItADUPi4cr+faJPPsUxvh5TViXgMHtfmFnME+qPTMI6IT9nEXE5jjUifE83l4jOGIjzC 5RqTscQ6QsjY9sS6TaGuYvInunl69RO4mTN3EL0OlfMW1b05r//Ck5EL3I3DieqHaOwbClUkjdajE QSnrLWztVjeH6NdkyYfGOfCsIfg7V7PcJ+dMz4f5f/PXdhU6CTSoc3zRy6pthmTWWXhEA52lbhFpm 6AYieMBr7a1QXyiUT0HyflWh3tlxyYQcv0hn8PGpgq+lNLXqnkOXzHL+q3sE8wv8i8qCshdi0CQY6 IR5XYsl6t6MZgg==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1rzs0R-000102-7P; Thu, 25 Apr 2024 01:50:51 -0400 In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llman?= =?utf-8?Q?n=22's?= message of "Thu, 25 Apr 2024 06:33:04 +0200") X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:318058 Archived-At: Gerd M=C3=B6llmann writes: > Andrea Corallo writes: > >> Gerd M=C3=B6llmann writes: >> >>> Andrea Corallo writes: >>> >>>> Dumb question: are you usnug rr to debug this? >>> >>> Not dumb at all :-). Last time I looked, which is now 10s ago, Homebrew >>> still didn't offer rr. That's on arm, in case it matters. >> >> IME rr is invaluable for debugging GC bugs, one can do things like >> placing watch-points while doing reverse execution and discover >> immediately where something was modified the last time.=20=20 > > Yeah, I agree. It's sort of the holy grail of debugging. > > (I remember an effort to add reversible debugging to LLDB some years > ago, don't know what became of that. I should probably investigate that > a bit.) > >> You did a very good job reaching this point of the development without >> rr. > > Thanks. See - nobody really needs this new-fangled stuff that young > people are using. Agree, the trick I shared actually covers for me the vast majority of the cases I'd use rr for :) Andrea