Re: GDB / AArch64 / MacOS

Andrew Haley via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.