Compile gdb for aarch64 target to use with MX-Linux. Later compile to use with FreeBSD or GhostBSD-Arm64
Compile gdb for aarch64 target REMOTE Debugging with EmCraft https://www.emcraft.com/som/imx-8m/remote-debugging-with-gdb Here I found a forum post at forums.raspberrypi.com and a shell script file See my post 2nd about aarch64 https://forums.raspberrypi.com/viewtopic.php?p=2200136&hilit=gdb#p2200136 The first forum post has many useful links and notes. I got a debug probe, here's a bash script to build GDB for ARM https://forums.raspberrypi.com/viewtopic.php?t=364475