From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 18B1B385773F for ; Wed, 19 Jul 2023 19:02:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 18B1B385773F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689793365; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ak4IjVL2+hg4xRkhlCvkXXj3phAOLH+Hd0AHbZ8NbWQ=; b=ZtvIP1wI/7vz2VxQ+Dogh05IAO/5cuwmWZCR9ymmiBN3VCfN0fYIrgnxif/mzRetBZrIvt bKDLv3GxzBgy3russxW2U8qnOHZ4pdakdaf90M/GjBXL6jrqYGrWd4pS48IVyYlAzAMhw1 u6X+tsMLAZVc6ThRHNXvieNaDitNnIc= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-584-jiWQROR3P1Ob4KRRjvjpEQ-1; Wed, 19 Jul 2023 15:02:44 -0400 X-MC-Unique: jiWQROR3P1Ob4KRRjvjpEQ-1 Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-314256aedcbso4007645f8f.0 for ; Wed, 19 Jul 2023 12:02:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689793362; x=1690398162; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ak4IjVL2+hg4xRkhlCvkXXj3phAOLH+Hd0AHbZ8NbWQ=; b=e1J5B6b17/RDaUTCv3kn4VL/RGghc7shLKfmDYQ0wrERDuxgIWa4dvd9ee3uiVHEgs SAUgB7OLC+N9ySYIVfO0agirTSdMgJxyEtMLzkRgrma2jdBGDvim2LD44pWFmbTKkyOs qgbgrUWnCmj7odR5YHgq42/gI9wThlLsYKnKeVOpNt/mzgMFORp6VaohDeR5wcA1ZYN/ la74jsOGSmtvWp5LsDt/vqH8Q+YiU2oFoTUcGe4cbY5VOQ1c9AFUNQG42D4Y58t3/26n c9E387kXxo5dDSUq6G7/OIGWtGCijQbTKAc2ZNlGqYwDkf7DRF/wybdZRD5k58sirmF+ PFdg== X-Gm-Message-State: ABy/qLb6M+MFHDtrzKc0cHYbnsWsVy8pw0p6WoctT09Z1uW2vXaYv2GX XRVk7LtVDGH/FghkrM6K/2JaWfxSdTEPh3uyHloi7QXn5JG+Ddw+JR+3PjYwo9rcEIiJkl9aVCN U8Xcke31H8KQ= X-Received: by 2002:a5d:52cc:0:b0:314:2a9:1071 with SMTP id r12-20020a5d52cc000000b0031402a91071mr227912wrv.19.1689793362477; Wed, 19 Jul 2023 12:02:42 -0700 (PDT) X-Google-Smtp-Source: APBJJlF3d2IS5g8yB+GQoz8+Jb963nDWSIJdVvRxPNKQNt1FeLHRqw1cwTv/+fYtFxBDwMBKJBHN9w== X-Received: by 2002:a5d:52cc:0:b0:314:2a9:1071 with SMTP id r12-20020a5d52cc000000b0031402a91071mr227901wrv.19.1689793362112; Wed, 19 Jul 2023 12:02:42 -0700 (PDT) Received: from [10.0.0.8] (cpc1-cmbg20-2-0-cust972.5-4.cable.virginm.net. [86.21.219.205]) by smtp.gmail.com with ESMTPSA id r18-20020adff112000000b0031435c2600esm6092277wro.79.2023.07.19.12.02.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 Jul 2023 12:02:41 -0700 (PDT) Message-ID: Date: Wed, 19 Jul 2023 20:02:40 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: GDB / AArch64 / MacOS To: Paul Koning , John Baldwin Cc: gdb@sourceware.org References: <4F50AD08-F333-45D8-8B1E-C050A7636295@comcast.net> From: Andrew Haley In-Reply-To: <4F50AD08-F333-45D8-8B1E-C050A7636295@comcast.net> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 7/19/23 18:05, Paul Koning wrote: > >> On Jul 19, 2023, at 1:02 PM, John Baldwin wrote: >> >> On 7/19/23 6:19 AM, Andrew Haley via Gdb wrote: >>> What is the status of this combo? It seems that GDB works fine for a compiled >>> (emulated in Rosetta) MacOS/x86 app, but not a MacOS/AArch64 app. Has anyone >>> seen patches to make this work? >> >> I don't think there is any support for MacOS/AArch64 as a target (e.g. no >> aarch64-darwin-nat.c) and I haven't seen any patches for that either. Maybe I could start with the AArch64/BSD target, do you think? The differences would be the way that args are passed between functions and stack layouts, I guess. > I sure would like one, though. Using LLDB is such a pain... It surely is. I'll have a look at what's involved. Trouble is, how will I debug it? I guess I'll have to use LLDB. Ewww.... ;-) -- Andrew Haley (he/him) Java Platform Lead Engineer Red Hat UK Ltd. https://keybase.io/andrewhaley EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671