Re: GDB 16.3: is it possible to cross-debug an x64 core from ARM?
Paul Smith via Gdb <[email protected]> Wed, 03 Dec 2025 08:13:21 -0500
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Organization | GNU's Not UNIX! |
| Message-ID | <[email protected]> |
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.