Module Name: src
Committed By: christos
Date: Mon Nov 6 04:08:02 UTC 2017
Modified Files:
src/sys/ddb: db_elf.c
Log Message:
remove more DB_ELFSIZE
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/ddb/db_elf.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_elf.c
diff -u src/sys/ddb/db_elf.c:1.28 src/sys/ddb/db_elf.c:1.29
--- src/sys/ddb/db_elf.c:1.28 Sat Nov 4 18:17:55 2017
+++ src/sys/ddb/db_elf.c Sun Nov 5 23:08:02 2017
@@ -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>