|
Lines 36-44
Link Here
|
| 36 |
#define GDB_REG_PC 15 |
36 |
#define GDB_REG_PC 15 |
| 37 |
|
37 |
|
| 38 |
static __inline size_t |
38 |
static __inline size_t |
| 39 |
gdb_cpu_regsz(int regnum __unused) |
39 |
gdb_cpu_regsz(int regnum) |
| 40 |
{ |
40 |
{ |
| 41 |
return (sizeof(int)); |
41 |
/* |
|
|
42 |
* GDB expects the FPA registers f0-f7 each 96-bit long placed between |
| 43 |
* the PC and the CPSR in a response to the "g" packet. |
| 44 |
*/ |
| 45 |
return ((regnum > 15) && (regnum < 24)) |
| 46 |
? ((size_t) 12) : (sizeof(int)); |
| 42 |
} |
47 |
} |
| 43 |
|
48 |
|
| 44 |
static __inline int |
49 |
static __inline int |