gdbstub plugin don't work even with i386 family cpu
I trying start gdbstub everything setup porperly but -verbose say Fatal error: "gdbstub: cpuname i386 not found in gdb stub descriptions" but FMTowns have i386 cpu. Attached verbose log verbose_log.txt
You're using both "-plugin gdbstub" and "-debugger gdbstub" they don't work together. This error is from the debugger which is more complete and preferred but only has support for a 486 due to the fpu registers. Remove the "-plugin gdbstub" and use fmtownshr instead of fmtowns.
Hi, I had implemented i486 instead of i386 because that's what I was testing with (some pc where I could boot linux). I wrote a patch to support i386, but gdb itself doesn't like it because of the lack of fpu registers (it says warning: Architecture rejected target-supplied description). I can use IDA Pro though, but it's annoying to debug real-mode i386.
Here it is: https://github.com/ramiropolla/mame/commit/21c8cda19a403fd64621e4dc25bb3523a931f21f
@cracyc does that patch seem ok to you?