gdb_machdep.h (b1fb1bb19af804ae8071bd61e4823e71f237f1d0) | gdb_machdep.h (c632517124f41ea99d3787ed26b12855222ae4a3) |
---|---|
1/*- 2 * Copyright (c) 2004 Marcel Moolenaar 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * --- 15 unchanged lines hidden (view full) --- 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * 26 * $FreeBSD$ 27 */ 28 29#ifndef _MACHINE_GDB_MACHDEP_H_ 30#define _MACHINE_GDB_MACHDEP_H_ 31 | 1/*- 2 * Copyright (c) 2004 Marcel Moolenaar 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * --- 15 unchanged lines hidden (view full) --- 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * 26 * $FreeBSD$ 27 */ 28 29#ifndef _MACHINE_GDB_MACHDEP_H_ 30#define _MACHINE_GDB_MACHDEP_H_ 31 |
32#define GDB_BUFSZ 500 | 32#define GDB_BUFSZ (GDB_NREGS * 16) |
33#define GDB_NREGS 56 34#define GDB_REG_PC 16 35 36static __inline size_t 37gdb_cpu_regsz(int regnum) 38{ 39 return ((regnum > 16 && regnum < 24) ? 4 : 8); 40} --- 12 unchanged lines hidden --- | 33#define GDB_NREGS 56 34#define GDB_REG_PC 16 35 36static __inline size_t 37gdb_cpu_regsz(int regnum) 38{ 39 return ((regnum > 16 && regnum < 24) ? 4 : 8); 40} --- 12 unchanged lines hidden --- |