From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2075.outbound.protection.outlook.com [40.107.22.75]) by sourceware.org (Postfix) with ESMTPS id 37C45385AE6C for ; Wed, 22 Jun 2022 13:06:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 37C45385AE6C ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=Tb/Qwt8iZegaID6zPdridP4+MfjmKvPlL8mm/qEJJG3Dk51SsO38F0yKmwE7fIdppL5Jb3vKW1Xm8uK5G4FF+GFgywSyxxlpv5DnqRcx3qJJqLAY5PXWir43MREM/yypSBcDn23yuOBfrxyeWci3M/pr4kiGP09TDzW5HCkpSyR2blXiIdrMIl8NiqgyMGubmb4NEZjhwWFr5FN7CUh0cjBUgEjbOX37PaRuFTRNeZ0OiWk4ODGH3ArGEiDvoJ+F85UpYhvqIkr4NAWFtxoNfJwrLj0uI4jgcXZpwa6wUPq5qaRe9FBcLaUKP5zWhui9Lxfd1S9B0OamzYlEYAFIWQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=V/fZlqbAtzYH/qF6hGyDIsAwPOc/DVGLInCMgqrlmf4=; b=Vol8CxNryo21YLglM6/aWsDU51nEwtENAKhLfAASAzS4RXBAHJgLrZfdqVXAk/IjZe1Llv5wB64oSK2bJZs7MjqDqumn6p9CiNk3d3LF0aoXMHbR0NOcINH1FymA8PWBRjmeXZyjEOp2j6NejHsAcCB9uSP8irIw8mFlEWvrJnW9nZNP+ITq3tcVvkjK/aMsF8dFuSA7AMhSKwWSQ+75EP9EAr5N2N2sM6OtqX5KF4HwevIHXwSq8+s7bh5m5dTKtJe3YP5vGWzzsMjx+iiA3xfzhLtcmFsD+r5ZY9IcOOjkkkebw72xjDdI2U4PwZhRI3P6knlLmg6EglfdNp8TEA== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=sourceware.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com]) Received: from AS8P189CA0048.EURP189.PROD.OUTLOOK.COM (2603:10a6:20b:458::28) by AM0PR08MB3377.eurprd08.prod.outlook.com (2603:10a6:208:d4::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.14; Wed, 22 Jun 2022 13:06:25 +0000 Received: from VE1EUR03FT003.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:458:cafe::47) by AS8P189CA0048.outlook.office365.com (2603:10a6:20b:458::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.14 via Frontend Transport; Wed, 22 Jun 2022 13:06:25 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT003.mail.protection.outlook.com (10.152.18.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.15 via Frontend Transport; Wed, 22 Jun 2022 13:06:25 +0000 Received: ("Tessian outbound e40990bc24d7:v120"); Wed, 22 Jun 2022 13:06:24 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 4063f56508d4a930 X-CR-MTA-TID: 64aa7808 Received: from bb57d3ba3d6f.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 71D032FD-88D5-4FF0-A08E-3C80F53BB489.1; Wed, 22 Jun 2022 13:06:18 +0000 Received: from EUR03-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id bb57d3ba3d6f.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 22 Jun 2022 13:06:18 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mrIxt3p1VMj09xm/M7siQfN/2Sc9iJp6L9yIkBX3/CtyqHnCINIebHUCNWYHJDd/6lN6n18kakzUCV4pIEsZRgZFeR0Aiw1Q8j0VTlRDIW3RueOgwDd2ZJLu8zqghAfOvgUCMWsnQghDvuoTFVmaZSOpJ2ZYylEgdaO1wk0n0o4Z57XN8kUhPcx9E1rKf6EyzlliRtNOR/uowpF541tItOfX8SySqdApB+6geQ15ZHU8hc33vDVDmdVzbQE0lPEKPHu6h7VJFZZTPC8DIWNHu7LM7AzeuTcSZu67padQMuqK7O+QD5uMl0ScplGuhkdY2nksbap/FejtphkCvrmGlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=V/fZlqbAtzYH/qF6hGyDIsAwPOc/DVGLInCMgqrlmf4=; b=c99lequinJ2S4sJkDfaAYLppeYgF2Y/0S9jjbYUO2e/Weqdfgv4I/A+vMamMx3hoYKLI7n224axFXhB5uNnRJZvKkgHJPc+2HRVY+F7itChwRIcpVoZ5bbrK//YNA+OEJCpLPS/arGVB7W0IYyYGL49sRUbVZeRF+ddyvf4Hlo0rPyGj1t2oz4eBOY2VZamWazWUirLt4FzPRyH6mAaXlAon/ZtmsGhQIcqO5+45xbFrEB0pePzhsuEL2VwBZC10Vd6BfuA5XYEd9xtFDu/ms2VkShWmsECp9/9i8ymGET3zobvIngwbPcl7F4SuF5XTI4UJ5XKX2A5YUtVR74iWvg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from VI1PR08MB3919.eurprd08.prod.outlook.com (2603:10a6:803:c4::31) by VE1PR08MB4800.eurprd08.prod.outlook.com (2603:10a6:802:a9::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.16; Wed, 22 Jun 2022 13:06:13 +0000 Received: from VI1PR08MB3919.eurprd08.prod.outlook.com ([fe80::1cda:8ca1:6353:572c]) by VI1PR08MB3919.eurprd08.prod.outlook.com ([fe80::1cda:8ca1:6353:572c%4]) with mapi id 15.20.5353.022; Wed, 22 Jun 2022 13:06:13 +0000 Message-ID: Date: Wed, 22 Jun 2022 14:06:10 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: GDB on M1 mac? Content-Language: en-US To: Paul Koning Cc: =?UTF-8?Q?Gerd_M=c3=b6llmann?= , gdb@sourceware.org References: <3185c3b8-8a91-4beb-a5d5-9db6afb93713@Spark> <6b48224b-9e2e-518d-793b-df4fc5514884@arm.com> From: Luis Machado In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LNXP265CA0056.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::20) To VI1PR08MB3919.eurprd08.prod.outlook.com (2603:10a6:803:c4::31) MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 56beb61c-da2a-44e4-2b14-08da54500332 X-MS-TrafficTypeDiagnostic: VE1PR08MB4800:EE_|VE1EUR03FT003:EE_|AM0PR08MB3377:EE_ X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: V+Bg/orU3XnFcAgdHax1aXUd+5G7R3bB1zdSXq0O7kvf1YBSXE/6/rH8t6Q326d4EkDVweoW6eiiCjcY+U4vN+/fUCjUa4g2WMxuP1R2OXVS/V65K/hpnVPbMgfUcxyb51x0OFbvi8nhYr/N4eGLuvu8VAxz9hcgHrru7qOtkv2I9YaIHwIDO1kujUuEmop/i61ko8mOsdemMBjqp5FamGQer39j7epUajSMsScCnIaBizMwxUPZtzsRod0dB5NTZQ5Jw8Hgfb4ZBu3DqU4EvMUHHd7BzRhdYENp8TLtZZZKNsYoivfwSZkzx/b020U5mHL9inPcS6NuUkAtXQxau3kqjS161rAZfWqbgq9UA1LLTyQo9uHwNeeIBsDWyK1NBNpfoLRCKSo5HCGCeGu/syIDkhGBsgFbs7a7mTYoJIm6wdq/YuFpNkVgik1rgDTu7PS6h10Xw5xhilRWQ/HHObFJFFoayvF0qatvigMSfMcgmEM2+TBBR9uCmyifE/DPF/Tne4oHrpIN0HPrwuUgODct9oQxcR42p1O+S9y35UKHLJQ7lAV1qsKuhQeTiLrCztAy/iHiHmDTDXIMoqPDkOoRMWgzwJm0fkqk03Nx9Mqb7XKtUcOLZOUCfi27U5ddL8qfJXIArXtYqmwRfhf5HY0pdl44mGHCCJGqnDM1YOGSj2ovNT4Aindww3JbCUEV9orfXdQgWEhJKURcl7ab8x5XUfk0PtUpCU5e18ZTd1A1yqba020lLBDG14OeamE+e7WFSugrN+OSDQOluthPiw== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR08MB3919.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(396003)(376002)(39860400002)(366004)(346002)(136003)(26005)(53546011)(8936002)(6512007)(6506007)(38100700002)(2616005)(5660300002)(6916009)(44832011)(36756003)(478600001)(2906002)(316002)(6486002)(31686004)(4326008)(8676002)(66946007)(66556008)(31696002)(186003)(66476007)(41300700001)(86362001)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB4800 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT003.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 1302d470-0a59-4ac8-1d90-08da544ffb8d X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ne1bu/ZqjN/y8LJpm+Y/pjpcxFRc/KCgk5ZPAnlWWmQABPWmid17z7kOrqXhpyY6Dy3Hxo6vdGMdIqH2ym0nvZkKHZ7er77V2SVz0du4DyUx2xtM/ijr6DT/pfACAS2gzh5zTuQbRPCGvr/SoTHiYDaq5xAeSbJS8GVZZli6QuPbEr2pHj1t0ei0jN1TBZ9Ey9a9sv0uyOpXFqEcuAlsY7fyW59yZa2aIn9tJxMFwYj98C1/Wc2gdzasqXL/njePoPEKrz/rPSnYzcip9VDMdqdaAXtmvrEJdgpuU+nNfV93V/CxKuj4mb/2rvxMOhG8UvjbXnMbqII5Ilfnbj/h3zoWv91TKT4QRwuy5v5fVIZCcim4/YWgUBrzLKhqo9P/44Eiim7ONkYYOxml5075mpVgL+NDSKw2LNafAN/THol15uwiSakWQAUKpNx98HIuGnh4QBSe+ooS12V/bEllfwBZOjvkEnwy4YKLDeI67OWsJKq9lmllnZqz6l/jEkabiQxM1lSe/LNdTQiReavLR1kBtXCqOBjkihRkD35V2TrlC5+CRuQxlbVSCKDSIBYqh2jrKoeuujGFn4DMNZIEghA+ZXD7Ngwe484v2IHkPSZKofZf3DXB5trQwCMrw7p0saJsIDGeQTkT4COyX+Ofy26vPCKsEW29MaPP4+QnSt6Y1drVgAOw1xR/P3nJ8McrWHWnIF81vR7UYMolo3YsxpFPUksiTI5IOrGt4DFFy+iqS5aFti71pDUws9Pw8x5hW0sKCNw3bRLyQi5GHBksm1LNZzXyyKTHf1049Ntia9w= X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230016)(4636009)(396003)(376002)(346002)(39860400002)(136003)(46966006)(40470700004)(36840700001)(86362001)(36756003)(81166007)(31686004)(40460700003)(82740400003)(5660300002)(26005)(36860700001)(31696002)(6512007)(186003)(70586007)(53546011)(336012)(41300700001)(6506007)(47076005)(2616005)(356005)(478600001)(6486002)(2906002)(82310400005)(8936002)(6862004)(40480700001)(44832011)(70206006)(316002)(4326008)(8676002)(43740500002); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jun 2022 13:06:25.2989 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 56beb61c-da2a-44e4-2b14-08da54500332 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR03FT003.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3377 X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, FORGED_SPF_HELO, KAM_DMARC_NONE, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY 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:06:39 -0000 On 6/22/22 14:01, Paul Koning wrote: > > >> On Jun 22, 2022, at 4:57 AM, Luis Machado via Gdb wrote: >> >> Hi, >> >> On 6/22/22 07:52, Gerd Möllmann via Gdb wrote: >>> I tried bulding gdb 12.1 on macOS 12.4 with an Apple M1 chip, but it öooks 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 >> >> Arm has macOS-hosted arm-none-eabi tools, but I don't think native aarch64 debugging on macOS is supported, as you said. >> >> 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. >> >> 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. Technically we have darwin native support for x86-64 (don't know how well it works). If that works well, It might be a matter of implementing the native parts for aarch64.