Open mfro0 opened 9 months ago
Ahem, IIRC Ptrace() isn't fully implemented in the FreeMiNT kernel, regarding to FPU registers. This is still to be done. EDIT: Wrong assumption.
Ah it's properly implemented in the FreeMiNT kernel. https://github.com/freemint/freemint/blob/56defdeda741b4283701504f73ffb65e74e05340/sys/ptrace.c#L514-L527 https://github.com/freemint/freemint/blob/56defdeda741b4283701504f73ffb65e74e05340/sys/arch/process_reg.c#L141-L150
Even if I'm unsure if those p->ctxt[SYSCALL].fctrl
values are properly set on ColdFire.
Anyway, a call to ptrace() with PT_GETFPREGS
is missing in GDB:
https://github.com/vinriviere/m68k-atari-mint-binutils-gdb/blob/e6591b01a2c24dfa6e861a31f6ef9e2c7749216a/gdb/mintelf-nat.c#L72-L88
I have played a little with gdb on my Firebee and it seems to be working well (thanks to all of you make that possible).
Except one thing: it appears the ColdFire FPU ist not recognized:
Is this just a configuration problem or something more involved?