1 /* $NetBSD: db_machdep.h,v 1.14 2002/05/13 20:30:12 matt Exp $ */ 2 3 /* 4 * Mach Operating System 5 * Copyright (c) 1991,1990 Carnegie Mellon University 6 * All Rights Reserved. 7 * 8 * Permission to use, copy, modify and distribute this software and its 9 * documentation is hereby granted, provided that both the copyright 10 * notice and this permission notice appear in all copies of the 11 * software, derivative works or modified versions, and any portions 12 * thereof, and that both notices appear in supporting documentation. 13 * 14 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" 15 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR 16 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. 17 * 18 * Carnegie Mellon requests users of this software to return to 19 * 20 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 21 * School of Computer Science 22 * Carnegie Mellon University 23 * Pittsburgh PA 15213-3890 24 * 25 * any improvements or extensions that they make and grant Carnegie Mellon 26 * the rights to redistribute these changes. 27 */ 28 29 #ifndef _SUN3_DB_MACHDEP_H_ 30 #define _SUN3_DB_MACHDEP_H_ 31 32 /* 33 * Machine-dependent defines for the DDB kernel debugger. 34 */ 35 36 #include <m68k/db_machdep.h> 37 #define DB_ELF_SYMBOLS 38 #define DB_ELFSIZE 32 39 40 /* This enables some code in db_command.c */ 41 #define DB_MACHINE_COMMANDS 42 43 extern char *esym; /* end of symbols */ 44 45 /* These are in db_memrw.c */ 46 extern void db_read_bytes __P((db_addr_t addr, size_t size, char *data)); 47 extern void db_write_bytes __P((db_addr_t addr, size_t size, char *data)); 48 49 #endif /* _SUN3_DB_MACHDEP_H_ */ 50