I can't seem to get it to work.
I'm running bgdbserver on my real amiga and used the command
Code:
bgdbserver program.exe
where program.exe is the program file. The server is happy and its listening at port 2345.
However when I go onto my MacBook and run
Code:
./m68k-amigaos-gdb /Volumes/repos/amigatest/program.exe
and then type in
Code:
target remote <ip address of amiga>:2345
gdb crashes with the following:
Code:
Remote debugging using 192.168.1.254:2345
Fatal signal: Segmentation fault: 11
----- Backtrace -----
---------------------
A fatal error internal to GDB has been detected, further
debugging is not possible. GDB will now terminate.
This is a bug, please report it. For instructions, see:
<https://www.gnu.org/software/gdb/bugs/>.
[1] 38234 segmentation fault ./m68k-amigaos-gdb /Volumes/repos/amigatest/program.exe
I get the same result in both macOS Apple Silicon and also on a Linux VM on my Intel MacBook