Re: GDB / AArch64 / MacOS

Andrew Haley via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
On 7/19/23 18:05, Paul Koning wrote:
> 
>> On Jul 19, 2023, at 1:02 PM, John Baldwin <[email protected]> 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://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.