--- sys/arm/arm/gdb_machdep.c (revision 367528) +++ sys/arm/arm/gdb_machdep.c (working copy) @@ -89,6 +89,20 @@ (kdb_thrctx->pcb_regs.sf_sp + 4 * 4); return (&kdb_thrctx->pcb_regs.sf_pc); } + case 16: + case 17: + case 18: + case 19: + case 20: + case 21: + case 22: + case 23: + /* + * GDB expects the FPA registers f0-f7 placed between + * the PC and the CPSR in the "g" packet each 96-bit long. + */ + *regsz = 12; + break; } return (NULL); --- sys/arm/include/gdb_machdep.h (revision 367528) +++ sys/arm/include/gdb_machdep.h (working copy) @@ -31,7 +31,7 @@ #ifndef _MACHINE_GDB_MACHDEP_H_ #define _MACHINE_GDB_MACHDEP_H_ -#define GDB_BUFSZ 400 +#define GDB_BUFSZ 2048 #define GDB_NREGS 26 #define GDB_REG_PC 15