From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#56495: 29.0.50; Support for debugging Emacs with LLDB Date: Tue, 12 Jul 2022 10:04:11 +0200 Message-ID: References: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\)) Content-Type: multipart/signed; boundary="Apple-Mail=_C4DC6F2F-0F21-4F7F-91C2-07A507A14D7B"; protocol="application/pgp-signature"; micalg=pgp-sha512 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39647"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56495@debbugs.gnu.org To: rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 12 10:28:17 2022 Return-path: Envelope-to: geb-bug-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 1oBBFh-000A8m-4L for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Jul 2022 10:28:17 +0200 Original-Received: from localhost ([::1]:55664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBBFf-0006Og-Vt for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Jul 2022 04:28:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45846) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBAtC-0004qz-ST for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2022 04:05:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47675) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oBAtC-0001iN-IS for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2022 04:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oBAtC-0005rK-9I for bug-gnu-emacs@gnu.org; Tue, 12 Jul 2022 04:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Jul 2022 08:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56495 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 56495-submit@debbugs.gnu.org id=B56495.165761306122460 (code B ref 56495); Tue, 12 Jul 2022 08:05:02 +0000 Original-Received: (at 56495) by debbugs.gnu.org; 12 Jul 2022 08:04:21 +0000 Original-Received: from localhost ([127.0.0.1]:41572 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBAsX-0005qC-D7 for submit@debbugs.gnu.org; Tue, 12 Jul 2022 04:04:21 -0400 Original-Received: from mail-ej1-f50.google.com ([209.85.218.50]:44809) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBAsV-0005pz-R0 for 56495@debbugs.gnu.org; Tue, 12 Jul 2022 04:04:20 -0400 Original-Received: by mail-ej1-f50.google.com with SMTP id ss3so6872010ejc.11 for <56495@debbugs.gnu.org>; Tue, 12 Jul 2022 01:04:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:subject:from:in-reply-to:date:cc:message-id:references :to; bh=tkpGv5GlDp+67cubYQgzPM+tOjN3BJLO94nr4I5ruEw=; b=hv5XmpeqUblDE/Ltqe7+2t6ktKY2yYVbEJ1vU0kEjRf2HvDxa7MUmp0LiyTGmd1ao9 dTr2+ale9qKBJ/wMHR2i0OA/r0T3BqoFtBYPipUcKaw9Y60rqedMnCMkO2P05qA+HMjG Q3lFc7JAxy4g3VJRE6SyX/wYqSOrWUZEF9g73vXirwtBc9y5roC0lrN/Ajd4wVkqXl8Q cRe6w1MQCqhmkykZ5yYBOIpOztc8W5ymHC06pOd3cGNg6VMN1/f0vkqroXAbL6S8tkhn cYTR0xji0orejJ3/O2HBvrkcBf7p58tm/ZSpFWYnxMXnmdNAnYlb7PatipbeVA8W76vk 0fug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=tkpGv5GlDp+67cubYQgzPM+tOjN3BJLO94nr4I5ruEw=; b=0t2bKEY90IuBQY9RBfpo1rWt2jh1u1T9TpsJsUwsrhFwAThiOmAMZ2GTMVdAyRzGFF JYE1PUNy2yT5Ba+oCgb3qEReM+CinluoEziN/j6cOteS8qvP5HKQBOOtEzHYHokIEhFI +GOl5AEZLKaDwp1Jusv/jh3wlKKThQ8e8l0aTMR3XjctWku4u9cjgBvEPoAnN4+hzSuZ Qr6x08zD3iocyCjJvIpHYYBRhT6QVs0+cUgFGc82PWr+EJUuW1MX/aaWN36pX9xYTbcr p3c/VqaK66T0JVWcTFXNd3UHcPVVYad7LqXPJn0KhWzx9gU/C2cyTuh+uY9w+qqprvtO 4ycQ== X-Gm-Message-State: AJIora/9xcdtmrCzxLzUR2m+EWkNw4icIxmqDsShuB4kzdoeFxc1e94P g5OFjY5EwRSkYO2m+kdSVSE9y6RMc2izcg== X-Google-Smtp-Source: AGRyM1tVLPOpluMWd/eMnKkPmKPtXarpMgBXZM0cG4kd++9Gw/11DCC/FB5TZEGL2qNben/Yak6Stg== X-Received: by 2002:a17:907:7da6:b0:72a:cf40:13e1 with SMTP id oz38-20020a1709077da600b0072acf4013e1mr22691130ejc.343.1657613053788; Tue, 12 Jul 2022 01:04:13 -0700 (PDT) Original-Received: from smtpclient.apple (pd9e364d5.dip0.t-ipconnect.de. [217.227.100.213]) by smtp.gmail.com with ESMTPSA id l17-20020a1709065a9100b00722f66fb36csm3513936ejq.112.2022.07.12.01.04.12 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Jul 2022 01:04:12 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3696.100.31) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:236749 Archived-At: --Apple-Mail=_C4DC6F2F-0F21-4F7F-91C2-07A507A14D7B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 2022-07-12,, at 5:04 , Richard Stallman wrote: > As I recall, GNU Emacs does not support MacOS anyway -- there is a > separate, modified version of Emacs for that. This duplicate code > should go into that modified version. The maintainers of that > version presumably think it is worth making an effort to > improve MacOS support -- so let them do the work. >=20 (As Stefan explained - macOS is supported. EFQ. You probably think of = Aquamacs, which AFAIU is a kind of fork of Emacs that started in the = early 2000s. I don't know much more about it. They will be = assimilated.) I'd also rather use GDB because of Emacs' .gdbinit. The problem is GDB: = it supports macOS on amd64, but not on arm64 (patches welcome, says = gdb-devel), and arm64 is what I have. So, for now, I've added 'xbacktrace' and 'pr' (safe_debug_print()) for = LLDB. Both could be useful for people investigating bugs, I think, as a = bare minimum. For anyone listening and interested: I've looked at the GDB sources for the first time today. GDB supports = arm64 on other platforms, and it supports macOS with amd64, so it might = not be too hard to add something for someone who knows what he is doing. = So far, I'm not that someone, and I don't want to spend a ton of time = on programming anyway these days, so I won't promise to do anything. --Apple-Mail=_C4DC6F2F-0F21-4F7F-91C2-07A507A14D7B Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIzBAEBCgAdFiEEirYePpiT82Hjkftpc+obGZDFPmMFAmLNKvsACgkQc+obGZDF PmOCcRAAtH9gOjEkNEq+hH1EAfgoFDO0GW1A3iQNc+KRutdbbCizUpBZy7+k2rQ3 bio1PQZF7PypfgJDCiQJ4HqzrfbxSDejZ4ovNr1kQkQZZ6vFHeuhX32XbbXa6UfN 0KZy50mATzNVEeks4mvg+rscRTchStnnB3CaMh+7KOk5nCcj8suME2CTFQzAr13l pwVu+lKlM3m+xJRfg/XPGkVPaObWee/Sc8GVsJdH1LclKyENZBZZJUMh38+xAAlZ gs9V+jB66Oov6ud6AJcLj8l0+1jhFqht4TrmzlFMhAHfAaLKCAe4WFDppBuD+jcw zXVfaLaa+Uc0mvbhV1vdxcvM79Bj9ewdmpHPXD3/GtPSC6uQDca2tKXI7Dd2RPyK 2l5XoUKRN5I3IoeI/j3fqXgCfV6YKgN+3RHuFqFPrfrvExq/ZOk415xWVUkbw0hq vkYd29Y1c104bCNJa0LM8zC1CT15XwLZg/+vYm7MQsOZB7XjhVVCNacNhOzJikgV aGrEyRCGYz4/m33uRdsGtDVJJqOQ4X1ZV63awFUako+2VfX1MfgGLkb+UfFfXcmX YxW+S3wxm+Xfpilkf6W/H8y7XhE3p7pEJiEu0wCW/qCbphEOGe/0TKsqgDLTCVoO 36/bKbwfKW2JkXYHRgC8B1bKd4ae1cAQ8I0SOKD+dhbi2TgHy3Q= =bjKM -----END PGP SIGNATURE----- --Apple-Mail=_C4DC6F2F-0F21-4F7F-91C2-07A507A14D7B--