Module Name: src Committed By: skrll Date: Fri Oct 30 06:57:09 UTC 2020
Modified Files: src/sys/ddb: db_command.c db_command.h db_input.c db_proc.c Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.170 -r1.171 src/sys/ddb/db_command.c cvs rdiff -u -r1.38 -r1.39 src/sys/ddb/db_command.h cvs rdiff -u -r1.27 -r1.28 src/sys/ddb/db_input.c cvs rdiff -u -r1.12 -r1.13 src/sys/ddb/db_proc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/ddb/db_command.c diff -u src/sys/ddb/db_command.c:1.170 src/sys/ddb/db_command.c:1.171 --- src/sys/ddb/db_command.c:1.170 Mon Apr 13 11:43:27 2020 +++ src/sys/ddb/db_command.c Fri Oct 30 06:57:08 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: db_command.c,v 1.170 2020/04/13 11:43:27 skrll Exp $ */ +/* $NetBSD: db_command.c,v 1.171 2020/10/30 06:57:08 skrll Exp $ */ /* * Copyright (c) 1996, 1997, 1998, 1999, 2002, 2009, 2019 @@ -61,7 +61,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: db_command.c,v 1.170 2020/04/13 11:43:27 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: db_command.c,v 1.171 2020/10/30 06:57:08 skrll Exp $"); #ifdef _KERNEL_OPT #include "opt_aio.h" @@ -472,7 +472,7 @@ int db_register_tbl(uint8_t type, const struct db_command *cmd_tbl) { struct db_cmd_tbl_en *list_ent; - + /* empty list - ignore */ if (cmd_tbl->name == 0) return 0; Index: src/sys/ddb/db_command.h diff -u src/sys/ddb/db_command.h:1.38 src/sys/ddb/db_command.h:1.39 --- src/sys/ddb/db_command.h:1.38 Sun May 31 09:51:55 2020 +++ src/sys/ddb/db_command.h Fri Oct 30 06:57:08 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: db_command.h,v 1.38 2020/05/31 09:51:55 rin Exp $ */ +/* $NetBSD: db_command.h,v 1.39 2020/10/30 06:57:08 skrll Exp $ */ /*- * Copyright (c) 1996, 1997, 1998, 1999, 2002 The NetBSD Foundation, Inc. @@ -88,7 +88,7 @@ struct db_command; #define DDB_ADD_CMD(name,funct,type,cmd_descr,cmd_arg,arg_desc)\ name,funct,type #endif - + /* @@ -109,7 +109,7 @@ int db_unregister_tbl(uint8_t, const str */ struct db_command { const char *name; /* command name */ - + /* function to call */ void (*fcn)(db_expr_t, bool, db_expr_t, const char *); /* @@ -130,7 +130,7 @@ struct db_command { #define CS_OWN 0x1 /* non-standard syntax */ #define CS_MORE 0x2 /* standard syntax, but may have other words at end */ -#define CS_COMPAT 0x4 /* is set for compatibilty with old +#define CS_COMPAT 0x4 /* is set for compatibilty with old ddb versions*/ #define CS_SHOW 0x8 /* select show list */ #define CS_MACH 0x10 /* select machine dependent list */ Index: src/sys/ddb/db_input.c diff -u src/sys/ddb/db_input.c:1.27 src/sys/ddb/db_input.c:1.28 --- src/sys/ddb/db_input.c:1.27 Sun Sep 29 02:00:22 2019 +++ src/sys/ddb/db_input.c Fri Oct 30 06:57:08 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: db_input.c,v 1.27 2019/09/29 02:00:22 uwe Exp $ */ +/* $NetBSD: db_input.c,v 1.28 2020/10/30 06:57:08 skrll Exp $ */ /* * Mach Operating System @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: db_input.c,v 1.27 2019/09/29 02:00:22 uwe Exp $"); +__KERNEL_RCSID(0, "$NetBSD: db_input.c,v 1.28 2020/10/30 06:57:08 skrll Exp $"); #ifdef _KERNEL_OPT #include "opt_ddbparam.h" @@ -153,7 +153,7 @@ db_hist_put(int c) db_history_last = db_history; } #endif - + /* returns true at end-of-line */ static int Index: src/sys/ddb/db_proc.c diff -u src/sys/ddb/db_proc.c:1.12 src/sys/ddb/db_proc.c:1.13 --- src/sys/ddb/db_proc.c:1.12 Sat Apr 4 13:59:16 2020 +++ src/sys/ddb/db_proc.c Fri Oct 30 06:57:08 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: db_proc.c,v 1.12 2020/04/04 13:59:16 mlelstv Exp $ */ +/* $NetBSD: db_proc.c,v 1.13 2020/10/30 06:57:08 skrll Exp $ */ /*- * Copyright (c) 2009, 2020 The NetBSD Foundation, Inc. @@ -61,7 +61,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: db_proc.c,v 1.12 2020/04/04 13:59:16 mlelstv Exp $"); +__KERNEL_RCSID(0, "$NetBSD: db_proc.c,v 1.13 2020/10/30 06:57:08 skrll Exp $"); #ifndef _KERNEL #include <stdbool.h> @@ -238,7 +238,7 @@ db_show_all_procs(db_expr_t addr, bool h kauth_cred_getuid(p.p_cred), #else /* XXX CRASH(8) */ 666, -#endif +#endif p.p_stat, p.p_flag, p.p_nlwps, p.p_comm, (p.p_nlwps != 1) ? "*" : wbuf);