Reduced and cleaned up #includes.

This commit is contained in:
Bruce Evans 1995-12-10 19:08:32 +00:00
parent 454bd7b924
commit 5ccbc3cc5a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=12734
21 changed files with 52 additions and 80 deletions

View File

@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: db_access.c,v 1.9 1995/11/29 10:25:03 phk Exp $
* $Id: db_access.c,v 1.10 1995/12/07 12:44:44 davidg Exp $
*/
/*
@ -32,8 +32,7 @@
*/
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <vm/vm_param.h>
#include <ddb/ddb.h>
#include <ddb/db_access.h>

View File

@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: db_access.h,v 1.4 1995/05/30 07:56:47 rgrimes Exp $
* $Id: db_access.h,v 1.5 1995/11/24 13:52:56 bde Exp $
*/
#ifndef _DDB_DB_ACCESS_H_
@ -36,8 +36,6 @@
/*
* Data access functions for debugger.
*/
#include <machine/db_machdep.h> /* expression types */
db_expr_t db_get_value __P((db_addr_t addr, int size,
boolean_t is_signed));
void db_put_value __P((db_addr_t addr, int size, db_expr_t value));

View File

@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: db_aout.c,v 1.13 1995/11/29 10:25:06 phk Exp $
* $Id: db_aout.c,v 1.14 1995/12/07 12:44:45 davidg Exp $
*/
/*
@ -36,8 +36,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <vm/vm_param.h>
#include <machine/bootinfo.h>

View File

@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: db_break.c,v 1.9 1995/12/07 12:44:46 davidg Exp $
* $Id: db_break.c,v 1.10 1995/12/10 13:32:33 phk Exp $
*/
/*
@ -35,11 +35,11 @@
*/
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <ddb/ddb.h>
#include <vm/vm.h>
#include <vm/vm_kern.h>
#include <ddb/ddb.h>
#include <ddb/db_lex.h>
#include <ddb/db_break.h>
#include <ddb/db_access.h>
@ -312,8 +312,6 @@ db_listbreak_cmd(dummy1, dummy2, dummy3, dummy4)
db_list_breakpoints();
}
#include <vm/vm_kern.h>
/*
* We want ddb to be usable before most of the kernel has been
* initialized. In particular, current_thread() or kernel_map

View File

@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: db_break.h,v 1.5 1995/11/29 10:25:11 phk Exp $
* $Id: db_break.h,v 1.6 1995/12/07 12:44:47 davidg Exp $
*/
/*
@ -33,8 +33,6 @@
#ifndef _DDB_DB_BREAK_H_
#define _DDB_DB_BREAK_H_
#include <machine/db_machdep.h>
/*
* Breakpoint.
*/

View File

@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: db_command.c,v 1.16 1995/11/29 10:25:14 phk Exp $
* $Id: db_command.c,v 1.17 1995/12/07 12:44:48 davidg Exp $
*/
/*
@ -36,12 +36,11 @@
*/
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <vm/vm_extern.h>
#include <ddb/ddb.h>
#include <vm/vm.h>
#include <vm/vm_extern.h>
#include <ddb/ddb.h>
#include <ddb/db_command.h>
#include <ddb/db_lex.h>
#include <ddb/db_output.h>

View File

@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: db_command.h,v 1.6 1995/05/30 07:56:54 rgrimes Exp $
* $Id: db_command.h,v 1.7 1995/11/24 13:52:58 bde Exp $
*/
#ifndef _DDB_DB_COMMAND_H_
@ -37,10 +37,6 @@
* Command loop declarations.
*/
#include <sys/param.h>
#include <sys/proc.h>
#include <machine/db_machdep.h>
void db_command_loop __P((void));
extern db_addr_t db_dot; /* current location */

View File

@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: db_examine.c,v 1.10 1995/11/29 10:25:17 phk Exp $
* $Id: db_examine.c,v 1.11 1995/12/07 12:44:49 davidg Exp $
*/
/*
@ -32,8 +32,6 @@
*/
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <vm/vm_param.h>
#include <ddb/ddb.h>

View File

@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: db_expr.c,v 1.7 1995/11/29 10:25:18 phk Exp $
* $Id: db_expr.c,v 1.8 1995/12/07 12:44:50 davidg Exp $
*/
/*
@ -32,8 +32,7 @@
*/
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <vm/vm_param.h>
#include <ddb/ddb.h>
#include <ddb/db_lex.h>
#include <ddb/db_access.h>

View File

@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: db_input.c,v 1.10 1995/12/07 12:44:51 davidg Exp $
* $Id: db_input.c,v 1.11 1995/12/10 13:32:37 phk Exp $
*/
/*
@ -33,11 +33,11 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <vm/vm_param.h>
#include <machine/cons.h>
#include <ddb/ddb.h>
#include <ddb/db_output.h>
#include <machine/cons.h>
/*
* Character input and editing.

View File

@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: db_lex.c,v 1.9 1995/12/07 12:44:52 davidg Exp $
* $Id: db_lex.c,v 1.10 1995/12/10 13:32:38 phk Exp $
*/
/*
@ -35,7 +35,7 @@
*/
#include <sys/param.h>
#include <sys/systm.h>
#include <vm/vm_param.h>
#include <ddb/ddb.h>
#include <ddb/db_lex.h>

View File

@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: db_output.c,v 1.13 1995/11/29 10:25:29 phk Exp $
* $Id: db_output.c,v 1.14 1995/12/07 12:44:53 davidg Exp $
*/
/*
@ -37,11 +37,12 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <vm/vm_param.h>
#include <machine/cons.h>
#include <machine/stdarg.h>
#include <ddb/ddb.h>
#include <ddb/db_output.h>
#include <machine/cons.h>
/*
* Character output - tracks position in line.

View File

@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: db_print.c,v 1.8 1995/11/24 14:13:39 bde Exp $
* $Id: db_print.c,v 1.9 1995/12/07 12:44:55 davidg Exp $
*/
/*
@ -36,11 +36,8 @@
*/
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <vm/vm_param.h>
#include <ddb/ddb.h>
#include <ddb/db_lex.h>
#include <ddb/db_variables.h>
#include <ddb/db_sym.h>

View File

@ -30,15 +30,16 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: db_ps.c,v 1.8 1995/08/27 02:40:39 bde Exp $
* $Id: db_ps.c,v 1.9 1995/12/07 12:44:56 davidg Exp $
*/
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <vm/vm_param.h>
#include <ddb/ddb.h>
#include <machine/cons.h>
#include <ddb/ddb.h>
void
db_ps(dummy1, dummy2, dummy3, dummy4)
db_expr_t dummy1;

View File

@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: db_run.c,v 1.8 1995/12/07 12:44:57 davidg Exp $
* $Id: db_run.c,v 1.9 1995/12/10 13:32:39 phk Exp $
*/
/*
@ -36,11 +36,10 @@
*/
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <ddb/ddb.h>
#include <vm/vm.h>
#include <ddb/ddb.h>
#include <ddb/db_lex.h>
#include <ddb/db_break.h>
#include <ddb/db_access.h>

View File

@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: db_sym.c,v 1.12 1995/12/07 12:44:58 davidg Exp $
* $Id: db_sym.c,v 1.13 1995/12/10 13:32:41 phk Exp $
*/
/*
@ -32,8 +32,7 @@
*/
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <vm/vm_param.h>
#include <ddb/ddb.h>
#include <ddb/db_sym.h>

View File

@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: db_trap.c,v 1.7 1995/05/30 07:57:14 rgrimes Exp $
* $Id: db_trap.c,v 1.8 1995/12/07 12:45:00 davidg Exp $
*/
/*
@ -36,14 +36,13 @@
*/
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <ddb/ddb.h>
#include <ddb/db_command.h>
#include <ddb/db_break.h>
void
db_trap(type, code)
int type, code;

View File

@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: db_variables.c,v 1.9 1995/11/29 10:25:41 phk Exp $
* $Id: db_variables.c,v 1.10 1995/12/07 12:45:04 davidg Exp $
*/
/*
@ -33,10 +33,8 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <vm/vm_param.h>
#include <ddb/ddb.h>
#include <ddb/ddb.h>
#include <ddb/db_lex.h>
#include <ddb/db_variables.h>

View File

@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: db_watch.c,v 1.9 1995/12/07 12:45:05 davidg Exp $
* $Id: db_watch.c,v 1.10 1995/12/10 13:32:42 phk Exp $
*/
/*
@ -33,15 +33,14 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <vm/lock.h>
#include <vm/vm_prot.h>
#include <vm/pmap.h>
#include <vm/vm_map.h>
#include <ddb/ddb.h>
#include <vm/vm_prot.h>
#include <ddb/ddb.h>
#include <ddb/db_lex.h>
#include <ddb/db_watch.h>
#include <ddb/db_access.h>

View File

@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: db_watch.h,v 1.6 1995/11/29 10:25:47 phk Exp $
* $Id: db_watch.h,v 1.7 1995/12/07 12:45:06 davidg Exp $
*/
/*
@ -34,8 +34,6 @@
#ifndef _DDB_DB_WATCH_H_
#define _DDB_DB_WATCH_H_
#include <machine/db_machdep.h>
/*
* Watchpoint.
*/

View File

@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: db_write_cmd.c,v 1.5 1995/05/30 07:57:23 rgrimes Exp $
* $Id: db_write_cmd.c,v 1.6 1995/12/07 12:45:07 davidg Exp $
*/
/*
@ -33,10 +33,8 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
#include <vm/vm_param.h>
#include <ddb/ddb.h>
#include <ddb/ddb.h>
#include <ddb/db_lex.h>
#include <ddb/db_access.h>
#include <ddb/db_command.h>