View | Details | Raw Unified | Return to bug 251022 | Differences between
and this patch

Collapse All | Expand All

(-)sys/arm/arm/gdb_machdep.c (+14 lines)
Lines 89-94 Link Here
89
			      (kdb_thrctx->pcb_regs.sf_sp + 4 * 4);
89
			      (kdb_thrctx->pcb_regs.sf_sp + 4 * 4);
90
			  return (&kdb_thrctx->pcb_regs.sf_pc);
90
			  return (&kdb_thrctx->pcb_regs.sf_pc);
91
		  }
91
		  }
92
	case 16:
93
	case 17:
94
	case 18:
95
	case 19:
96
	case 20:
97
	case 21:
98
	case 22:
99
	case 23:
100
		  /*
101
		   * GDB expects the FPA registers f0-f7 placed between
102
		   * the PC and the CPSR in the "g" packet each 96-bit long.
103
		   */
104
		  *regsz = 12;
105
		  break;
92
	}
106
	}
93
107
94
	return (NULL);
108
	return (NULL);
(-)sys/arm/include/gdb_machdep.h (-1 / +1 lines)
Lines 31-37 Link Here
31
#ifndef _MACHINE_GDB_MACHDEP_H_
31
#ifndef _MACHINE_GDB_MACHDEP_H_
32
#define	_MACHINE_GDB_MACHDEP_H_
32
#define	_MACHINE_GDB_MACHDEP_H_
33
33
34
#define	GDB_BUFSZ	400
34
#define	GDB_BUFSZ	2048
35
#define	GDB_NREGS	26
35
#define	GDB_NREGS	26
36
#define	GDB_REG_PC	15
36
#define	GDB_REG_PC	15
37
37

Return to bug 251022