NetBSD/sys/arch/sun2/include/db_machdep.h

50 lines
1.6 KiB
C

/* $NetBSD: db_machdep.h,v 1.4 2002/05/13 20:30:12 matt Exp $ */
/*
* Mach Operating System
* Copyright (c) 1991,1990 Carnegie Mellon University
* All Rights Reserved.
*
* Permission to use, copy, modify and distribute this software and its
* documentation is hereby granted, provided that both the copyright
* notice and this permission notice appear in all copies of the
* software, derivative works or modified versions, and any portions
* thereof, and that both notices appear in supporting documentation.
*
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
* ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
*
* Carnegie Mellon requests users of this software to return to
*
* Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
* School of Computer Science
* Carnegie Mellon University
* Pittsburgh PA 15213-3890
*
* any improvements or extensions that they make and grant Carnegie Mellon
* the rights to redistribute these changes.
*/
#ifndef _SUN2_DB_MACHDEP_H_
#define _SUN2_DB_MACHDEP_H_
/*
* Machine-dependent defines for the DDB kernel debugger.
*/
#include <m68k/db_machdep.h>
#define DB_ELF_SYMBOLS
#define DB_ELFSIZE 32
/* This enables some code in db_command.c */
#define DB_MACHINE_COMMANDS
extern char *esym; /* end of symbols */
/* These are in db_memrw.c */
extern void db_read_bytes __P((db_addr_t addr, size_t size, char *data));
extern void db_write_bytes __P((db_addr_t addr, size_t size, char *data));
#endif /* _SUN2_DB_MACHDEP_H_ */