Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/mips Trailing whitespace, remove extra blank l...
details: https://anonhg.NetBSD.org/src/rev/2deb660dcc69
branches: trunk
changeset: 951968:2deb660dcc69
user: simonb <simonb%NetBSD.org@localhost>
date: Tue Feb 09 13:26:25 2021 +0000
description:
Trailing whitespace, remove extra blank line.
diffstat:
sys/arch/mips/mips/db_trace.c | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diffs (47 lines):
diff -r f46b97797bc0 -r 2deb660dcc69 sys/arch/mips/mips/db_trace.c
--- a/sys/arch/mips/mips/db_trace.c Tue Feb 09 12:39:28 2021 +0000
+++ b/sys/arch/mips/mips/db_trace.c Tue Feb 09 13:26:25 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_trace.c,v 1.47 2020/09/26 20:38:27 mrg Exp $ */
+/* $NetBSD: db_trace.c,v 1.48 2021/02/09 13:26:25 simonb Exp $ */
/*
* Mach Operating System
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_trace.c,v 1.47 2020/09/26 20:38:27 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_trace.c,v 1.48 2021/02/09 13:26:25 simonb Exp $");
#ifdef _KERNEL_OPT
#include "opt_ddb.h"
@@ -182,7 +182,7 @@
struct lwp lstore;
db_read_bytes(addr, sizeof(lstore), (char *)&lstore);
- db_read_bytes((db_addr_t)lstore.l_proc, sizeof(pstore),
+ db_read_bytes((db_addr_t)lstore.l_proc, sizeof(pstore),
(char *)&pstore);
(*pr)("pid %d.%d ", pstore.p_pid, lstore.l_lid);
pcb = lwp_getpcb(&lstore);
@@ -198,7 +198,7 @@
if (p == NULL) {
(*pr)("not found\n");
return;
- }
+ }
l = LIST_FIRST(&p->p_lwps); /* XXX NJWLWP */
pcb = lwp_getpcb(l);
#else
@@ -298,9 +298,8 @@
/* nothing... */
}
-
int
-db_mips_variable_func (const struct db_variable *vp, db_expr_t *valuep,
+db_mips_variable_func(const struct db_variable *vp, db_expr_t *valuep,
int db_var_fcn)
{
Home |
Main Index |
Thread Index |
Old Index