public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Haley <aph@redhat.com>
To: Paul Koning <paulkoning@comcast.net>, John Baldwin <jhb@FreeBSD.org>
Cc: gdb@sourceware.org
Subject: Re: GDB / AArch64 / MacOS
Date: Wed, 19 Jul 2023 20:02:40 +0100	[thread overview]
Message-ID: <b31b882c-1afe-3a13-03d2-da241db54f52@redhat.com> (raw)
In-Reply-To: <4F50AD08-F333-45D8-8B1E-C050A7636295@comcast.net>

On 7/19/23 18:05, Paul Koning wrote:
> 
>> On Jul 19, 2023, at 1:02 PM, John Baldwin <jhb@FreeBSD.org> 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


  reply	other threads:[~2023-07-19 19:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-19 13:19 Andrew Haley
2023-07-19 17:02 ` John Baldwin
2023-07-19 17:05   ` Paul Koning
2023-07-19 19:02     ` Andrew Haley [this message]
2023-07-19 19:29       ` John Baldwin
2023-07-20  8:50         ` Andrew Haley
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=b31b882c-1afe-3a13-03d2-da241db54f52@redhat.com \
    --to=aph@redhat.com \
    --cc=gdb@sourceware.org \
    --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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).