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.129.124]) by sourceware.org (Postfix) with ESMTPS id 9E0233858CDB for ; Thu, 20 Jul 2023 08:51:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9E0233858CDB 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=1689843060; 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=8ZkUWtyUR9SUP2rge8Rli/p+qGCWqpouF9/Nw63XaSA=; b=aPVbGNxsA88UoSvOMLW+xjuzIJ1CDbpYkixZxDEO6N0e2bQF2zMStWC6vDjuI1V8GYl0jq 3h++lVj9PE17S4cTRyVD3vvKf5aHWS0YZ3rDhQKM8LYb9msBNqIcOW2CgNvRJXmURFfwNf 5PKLbVSCtF8EbHuGhUwyEmpfpWSxFbo= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-563-TAI4s9YQNi6woGdPtN8EIA-1; Thu, 20 Jul 2023 04:50:58 -0400 X-MC-Unique: TAI4s9YQNi6woGdPtN8EIA-1 Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-3fc0855dcc5so2540025e9.2 for ; Thu, 20 Jul 2023 01:50:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689843058; x=1690447858; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8ZkUWtyUR9SUP2rge8Rli/p+qGCWqpouF9/Nw63XaSA=; b=ZZ4f0vXDTsJyeK6dFZj+qx3FTDLIpjyCeoCmsZw2wUnvfntZhAr6vXzedCHmf098JD EKaNtp281vowcbTKV4WNAY9/KbJ4FIIz0zw32FS9+Y76f9aGWI5ZP3x/TEDtnzIQYr+6 93rZ/9KVrAoVoMcsg94Ft3PhgtNhZeJ/bbuE+zMnqaeYpv7x3Yd6+JGbAiVzagEJvL2f 1Fky1MFPMsO1QFJdyKNqyXcYWCk/M7yDptEQenRk+giFv46wSd0Vd6JfulLIQcvcxyKl /8oTa/sF7xw/8jEtHG4vNbIu/fjxNKqkXc1jPxrVF4epsptrPlIWZXjVKlnIHiblKciv JhEA== X-Gm-Message-State: ABy/qLagXDQAJDqsz3DdmSRyD6SDfQDDzHJdnWmBDptkwXxvdKjNVGfQ SS8RTJzVRhMCtZTRAR6Em3XSB2JZKbZWaD1hMBTVzU8fhAPRkFJ9sFEVdaFz0GW8EROjcwRmodI w0QF5+BERYbs= X-Received: by 2002:a7b:c3d3:0:b0:3fa:9924:1241 with SMTP id t19-20020a7bc3d3000000b003fa99241241mr6447566wmj.4.1689843057883; Thu, 20 Jul 2023 01:50:57 -0700 (PDT) X-Google-Smtp-Source: APBJJlH5TTfFN931IBoRVpeSlTW13z0rpaM1SUGYL8LmRUef32YBVy0zKAaIQodXJ7768Mth0BoG7w== X-Received: by 2002:a7b:c3d3:0:b0:3fa:9924:1241 with SMTP id t19-20020a7bc3d3000000b003fa99241241mr6447554wmj.4.1689843057505; Thu, 20 Jul 2023 01:50:57 -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 e23-20020a05600c219700b003fc02218d6csm3374249wme.25.2023.07.20.01.50.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 20 Jul 2023 01:50:56 -0700 (PDT) Message-ID: Date: Thu, 20 Jul 2023 09:50:50 +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: John Baldwin , Paul Koning Cc: gdb@sourceware.org References: <4F50AD08-F333-45D8-8B1E-C050A7636295@comcast.net> From: Andrew Haley In-Reply-To: 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 20:29, John Baldwin wrote: > I think you are probably better off starting with the x86 darwin target > since it uses Mach ports for debugging rather than ptrace. Probably the > architecture-specific parts you would need (dealing with different register > sets, etc.) is fairly small. Thanks, good point. The AArch64/MacOS calling convention is a bit of a nightmare, in that it packs args into registers in a weird way. -- 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