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: MPS: native comp Date: Mon, 29 Apr 2024 07:03:52 -0400 Message-ID: References: <86le4wsj14.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="40123"; 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 Mon Apr 29 13:04:42 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 1s1OoL-000AED-T1 for ged-emacs-devel@m.gmane-mx.org; Mon, 29 Apr 2024 13:04:42 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s1Onx-0004mz-Rn; Mon, 29 Apr 2024 07:04:17 -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 1s1Onu-0004kG-Sy for emacs-devel@gnu.org; Mon, 29 Apr 2024 07:04:15 -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 1s1Ono-0007re-B4; Mon, 29 Apr 2024 07:04:13 -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=UHcH928I1i6ZGVEd1waHCFaUiB/9n0WkC1+foaBd+PE=; b=hIhZplr9biThU8hGg7xZ Vgwygk5+By8bChbsmhcOlNwRMEYGQCnbtlK+Qyz6h3ninqIbRId8ju40eh6F1UQ5DasqjNHy5Kp90 FQXAff1OFjUj+I3vDdSHJJiq8SyfDDgeD1k9FFvDmXT01VkPXb6h6X998/ICeYfJNhgRqZAXMEbGm lJjUA9WuItiHaUsTW5OqsWZDrAhww/GNcniEkcIX77iq3AbPEFPA1RDmFLkhmbztmisNUXru3CkiH KWFNkeZ02v12H7l78moJIykucXRycqtsbIEkDZgNazmRCBRB06NLCQU2VCuDkaQ10i54w2/iC3EAU +SJa6e8hu68f8A==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1s1OnZ-0007WY-3F; Mon, 29 Apr 2024 07:03:56 -0400 In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llman?= =?utf-8?Q?n=22's?= message of "Mon, 29 Apr 2024 12:29:57 +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:318347 Archived-At: Gerd M=C3=B6llmann writes: > Andrea Corallo writes: > >>> Wot? This can be done? Thanks! >> >> Pure magic =F0=9F=98=80 one could even step into it with the deugger > > Wait, wait, wait - how do I do that? I must play with it. Should be sufficiente to place a break point the C counterpart of the Lisp function, say in this case 'F666f6f_foo_0'. If it was compiled with native-comp-debug >=3D2 the debugger should directly find the pseudo C =F0=9F=98=80. Note that with native-comp-speed > 0 the build is optimized so the debug experience should come with all the expected limitaiton, if you want a better experience you can use native-comp-speed 0 (or force GCC to -O0). Andrea