Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andrew Haley via Gdb <gdb@sourceware.org>
To: John Baldwin <jhb@FreeBSD.org>, Paul Koning <paulkoning@comcast.net>
Cc: gdb@sourceware.org
Subject: Re: GDB / AArch64 / MacOS
Date: Thu, 20 Jul 2023 09:50:50 +0100	[thread overview]
Message-ID: <cd80dde1-a0c1-8f1e-a9f3-36712046e952@redhat.com> (raw)
In-Reply-To: <b94a56cd-fc77-f79a-4a37-6b2eca7ec7a4@FreeBSD.org>

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://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671


  reply	other threads:[~2023-07-20  8:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-19 13:19 Andrew Haley via Gdb
2023-07-19 17:02 ` John Baldwin
2023-07-19 17:05   ` Paul Koning via Gdb
2023-07-19 19:02     ` Andrew Haley via Gdb
2023-07-19 19:29       ` John Baldwin
2023-07-20  8:50         ` Andrew Haley via Gdb [this message]
2023-07-23 19:51       ` Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cd80dde1-a0c1-8f1e-a9f3-36712046e952@redhat.com \
    --to=gdb@sourceware.org \
    --cc=aph@redhat.com \
    --cc=jhb@FreeBSD.org \
    --cc=paulkoning@comcast.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox