1139747Simp/*-
24Srgrimes * Mach Operating System
34Srgrimes * Copyright (c) 1991,1990 Carnegie Mellon University
44Srgrimes * All Rights Reserved.
58876Srgrimes *
64Srgrimes * Permission to use, copy, modify and distribute this software and its
74Srgrimes * documentation is hereby granted, provided that both the copyright
84Srgrimes * notice and this permission notice appear in all copies of the
94Srgrimes * software, derivative works or modified versions, and any portions
104Srgrimes * thereof, and that both notices appear in supporting documentation.
118876Srgrimes *
128876Srgrimes * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS
134Srgrimes * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
144Srgrimes * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
158876Srgrimes *
164Srgrimes * Carnegie Mellon requests users of this software to return to
178876Srgrimes *
184Srgrimes *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
194Srgrimes *  School of Computer Science
204Srgrimes *  Carnegie Mellon University
214Srgrimes *  Pittsburgh PA 15213-3890
228876Srgrimes *
234Srgrimes * any improvements or extensions that they make and grant Carnegie the
244Srgrimes * rights to redistribute these changes.
254Srgrimes *
2650477Speter * $FreeBSD$
274Srgrimes */
28623Srgrimes
29716Swollman#ifndef _DDB_DB_COMMAND_H_
3012472Sbde#define	_DDB_DB_COMMAND_H_
31716Swollman
324Srgrimes/*
334Srgrimes *	Author: David B. Golub, Carnegie Mellon University
344Srgrimes *	Date:	7/90
354Srgrimes */
36208509Sbz
374Srgrimes/*
38208509Sbz * Helper functions.
39208509Sbz */
40208509Sbzdb_expr_t db_hex2dec(db_expr_t expr);
41208509Sbz
42208509Sbz/*
434Srgrimes * Command loop declarations.
444Srgrimes */
454Srgrimes
46183360Sjhbvoid	db_command_init(void);
4792756Salfredvoid	db_command_loop(void);
48174914Srwatsonvoid	db_command_script(const char *command);
494Srgrimes
504Srgrimesextern db_addr_t	db_dot;		/* current location */
514Srgrimesextern db_addr_t	db_last_addr;	/* last explicit address typed */
524Srgrimesextern db_addr_t	db_prev;	/* last address examined
534Srgrimes					   or written */
544Srgrimesextern db_addr_t	db_next;	/* next address to be examined
554Srgrimes					   or written */
564Srgrimes
5712472Sbde#endif /* !_DDB_DB_COMMAND_H_ */
58