From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id QxBgDJ31uGQZaSgAWB0awg (envelope-from ) for ; Thu, 20 Jul 2023 04:51:41 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=MCqz77zm; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 2361F1E0BD; Thu, 20 Jul 2023 04:51:41 -0400 (EDT) Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id EBF4A1E0AC for ; Thu, 20 Jul 2023 04:51:38 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id DCA173858C33 for ; Thu, 20 Jul 2023 08:51:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DCA173858C33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1689843096; bh=8ZkUWtyUR9SUP2rge8Rli/p+qGCWqpouF9/Nw63XaSA=; h=Date:Subject:To:Cc:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=MCqz77zmmVlIeH+TNzQbPMkAG2bXpuoJ4JsoR0ZwGCmz1m9ZzBevpP1aIqJaLFbOG kneHo4+gxY8ctzBx4ojcdF+SQ6vpj/ih+/74d2KRMxQfQkV+c4BgEXaDMPs3X3Byw3 +eu/Dawtf+Z+9FF5wDt4bWF/Vq4hlzy5J5ak1bJ0= 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 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> 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 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: , From: Andrew Haley via Gdb Reply-To: Andrew Haley Errors-To: gdb-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb" 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