GDB 16.3: is it possible to cross-debug an x64 core from ARM?

Luis luis.machado.foss@gmail.com
Fri Dec 5 19:10:24 GMT 2025


To be honest, the aarch64 sim is very outdated. I'm not sure why we still
carry it around.

On Wed, Dec 3, 2025, 13:14 Paul Smith via Gdb <gdb@sourceware.org> wrote:

> On Mon, 2025-12-01 at 16:13 -0500, Simon Marchi wrote:
> > I think I found the problem:
> >
> > https://gitlab.com/gnutools/binutils-gdb/-
> > /blob/887bcaf98ea8e1ef76f6dd429b01b5258a782172/sim/configure.ac#L73
> >
> > We essentially do:
> >
> >     for targ in aarch64-unknown-linux-gnu x86_64-linux-gnu; do
> >         // try to match $targ against all known targets
> >     done
>
> Thanks, I was in the middle of looking at that when I got your email :)
>
> I submitted a patch to fix this:
> https://sourceware.org/pipermail/gdb-patches/2025-December/223119.html
>
> I did it a different way than the simplest option, but that to me seems
> safer and more reliable.  I tried to keep with the same style used in
> other sh code in configure.ac.
>


More information about the Gdb mailing list