From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from resqmta-h1p-028594.sys.comcast.net (resqmta-h1p-028594.sys.comcast.net [IPv6:2001:558:fd02:2446::2]) by sourceware.org (Postfix) with ESMTPS id 4168D3834E45 for ; Wed, 22 Jun 2022 13:01:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 4168D3834E45 Received: from resomta-h1p-027914.sys.comcast.net ([96.102.179.199]) by resqmta-h1p-028594.sys.comcast.net with ESMTP id 3yNNoYCQsgnyX3zzSoLyj0; Wed, 22 Jun 2022 13:01:50 +0000 Received: from smtpclient.apple ([73.60.223.101]) by resomta-h1p-027914.sys.comcast.net with ESMTPSA id 3zyVo17fuD1jn3zzPor8Am; Wed, 22 Jun 2022 13:01:48 +0000 X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgedvfedrudefhedgheekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuvehomhgtrghsthdqtfgvshhipdfqfgfvpdfpqffurfetoffkrfenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurheptggguffhjgffvefgkfhfvffosehtqhhmtdhhtdejnecuhfhrohhmpefrrghulhcumfhonhhinhhguceophgruhhlkhhonhhinhhgsegtohhmtggrshhtrdhnvghtqeenucggtffrrghtthgvrhhnpeelvedvhfffledujedvleeuffetudefvefhueffleefjeettdduhedvkeehvddvteenucfkphepjeefrdeitddrvddvfedruddtudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopehsmhhtphgtlhhivghnthdrrghpphhlvgdpihhnvghtpeejfedriedtrddvvdefrddutddupdhmrghilhhfrhhomhepphgruhhlkhhonhhinhhgsegtohhmtggrshhtrdhnvghtpdhnsggprhgtphhtthhopeefpdhrtghpthhtoheplhhuihhsrdhmrggthhgrughosegrrhhmrdgtohhmpdhrtghpthhtohepghgvrhgurdhmohgvlhhlmhgrnhhnsehgmhgrihhlrdgtohhmpdhrtghpthhtohepghgusgesshhouhhrtggvfigrrhgvrdhorhhg X-Xfinity-VMeta: sc=-100.00;st=legit Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: GDB on M1 mac? From: Paul Koning In-Reply-To: <6b48224b-9e2e-518d-793b-df4fc5514884@arm.com> Date: Wed, 22 Jun 2022 09:01:48 -0400 Cc: =?utf-8?Q?Gerd_M=C3=B6llmann?= , gdb@sourceware.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <3185c3b8-8a91-4beb-a5d5-9db6afb93713@Spark> <6b48224b-9e2e-518d-793b-df4fc5514884@arm.com> To: Luis Machado X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, JMQ_SPF_NEUTRAL, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jun 2022 13:01:57 -0000 > On Jun 22, 2022, at 4:57 AM, Luis Machado via Gdb = wrote: >=20 > Hi, >=20 > On 6/22/22 07:52, Gerd M=C3=B6llmann via Gdb wrote: >> I tried bulding gdb 12.1 on macOS 12.4 with an Apple M1 chip, but it = =C3=B6ooks like that target is not supported. >> Can I ask if there are plans to support that platform, or even work = in progress that I could try out? (I'd use it for debugging Emacs on = macOS.) >> TIA >=20 > Arm has macOS-hosted arm-none-eabi tools, but I don't think native = aarch64 debugging on macOS is supported, as you said. >=20 > I can't speak for other contributors, but I don't know of any plan to = support that OS/arch combination for GDB. We're open to > accepting patches though. >=20 > I think LLDB is the way to go on macOS. Unfortunately that seems to be the only option right now, but it's a = nasty one. The UI is obnoxious, and it can't debug GCC output at all = unless it was compiled with -O0. paul