Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ddb remove more DB_ELFSIZE
details: https://anonhg.NetBSD.org/src/rev/fb2249ce31e6
branches: trunk
changeset: 357332:fb2249ce31e6
user: christos <christos%NetBSD.org@localhost>
date: Mon Nov 06 04:08:02 2017 +0000
description:
remove more DB_ELFSIZE
diffstat:
sys/ddb/db_elf.c | 11 ++---------
1 files changed, 2 insertions(+), 9 deletions(-)
diffs (36 lines):
diff -r cef36dfcac30 -r fb2249ce31e6 sys/ddb/db_elf.c
--- a/sys/ddb/db_elf.c Mon Nov 06 03:51:37 2017 +0000
+++ b/sys/ddb/db_elf.c Mon Nov 06 04:08:02 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_elf.c,v 1.28 2017/11/04 22:17:55 christos Exp $ */
+/* $NetBSD: db_elf.c,v 1.29 2017/11/06 04:08:02 christos Exp $ */
/*-
* Copyright (c) 1997, 2009 The NetBSD Foundation, Inc.
@@ -31,25 +31,18 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_elf.c,v 1.28 2017/11/04 22:17:55 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_elf.c,v 1.29 2017/11/06 04:08:02 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/proc.h>
-
#include <machine/db_machdep.h>
#include <machine/pmap.h>
#include <machine/vmparam.h>
#ifdef DB_ELF_SYMBOLS
-#ifndef DB_ELFSIZE
-#error Must define DB_ELFSIZE!
-#endif
-
-#define ELFSIZE DB_ELFSIZE
-
#include <ddb/ddb.h>
#include <sys/exec_elf.h>
Home |
Main Index |
Thread Index |
Old Index