--- Gnu-Mach/ddb/db_cond.c 2020/09/02 04:36:57 1.1.1.1 +++ Gnu-Mach/ddb/db_cond.c 2020/09/02 04:45:52 1.1.1.3 @@ -1,30 +1,29 @@ -/* +/* * 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. */ -#include "mach_kdb.h" #if MACH_KDB #include @@ -33,7 +32,11 @@ #include #include #include +#include +#include +#include +#include #define DB_MAX_COND 10 /* maximum conditions to be set */ @@ -122,7 +125,7 @@ db_cond_print(bkpt) void db_cond_cmd() { - register c; + register int c; register struct db_cond *cp; register char *p; db_expr_t value; @@ -178,4 +181,4 @@ db_cond_cmd() bkpt->tb_cond = (cp - db_cond) + 1; } -#endif MACH_KDB +#endif /* MACH_KDB */