Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Leave section 0 empty. Now gdb should recognize our ...



details:   https://anonhg.NetBSD.org/src/rev/823a42915a28
branches:  trunk
changeset: 805044:823a42915a28
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Dec 14 18:14:15 2014 +0000

description:
Leave section 0 empty. Now gdb should recognize our dumped ksyms files.

diffstat:

 sys/sys/ksyms.h |  16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diffs (30 lines):

diff -r c4e485c6712f -r 823a42915a28 sys/sys/ksyms.h
--- a/sys/sys/ksyms.h   Sun Dec 14 18:12:55 2014 +0000
+++ b/sys/sys/ksyms.h   Sun Dec 14 18:14:15 2014 +0000
@@ -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 (ragge%ludd.luth.se@localhost).
@@ -58,13 +58,13 @@
  * 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



Home | Main Index | Thread Index | Old Index