Module Name: src Committed By: christos Date: Sun Dec 14 18:14:15 UTC 2014
Modified Files: src/sys/sys: ksyms.h Log Message: Leave section 0 empty. Now gdb should recognize our dumped ksyms files. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/sys/ksyms.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/sys/ksyms.h diff -u src/sys/sys/ksyms.h:1.29 src/sys/sys/ksyms.h:1.30 --- src/sys/sys/ksyms.h:1.29 Mon Dec 8 21:30:09 2014 +++ src/sys/sys/ksyms.h Sun Dec 14 13:14:15 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: ksyms.h,v 1.29 2014/12/09 02:30:09 christos Exp $ */ +/* $NetBSD: ksyms.h,v 1.30 2014/12/14 18:14:15 christos Exp $ */ /* * Copyright (c) 2001, 2003 Anders Magnusson (ra...@ludd.luth.se). @@ -58,13 +58,13 @@ struct ksyms_symtab { * Static allocated ELF header. * Basic info is filled in at attach, sizes at open. */ -#define SHNOTE 0 -#define SYMTAB 1 -#define STRTAB 2 -#define SHSTRTAB 3 -#define SHBSS 4 -#define SHCTF 5 -#define NSECHDR 6 +#define SHNOTE 1 +#define SYMTAB 2 +#define STRTAB 3 +#define SHSTRTAB 4 +#define SHBSS 5 +#define SHCTF 6 +#define NSECHDR 7 #define NPRGHDR 1 #define SHSTRSIZ 64