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