Source-Changes-HG archive

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

[src/trunk]: src/sys/kern don't overwrite the CTF info with the symbol table.



details:   https://anonhg.NetBSD.org/src/rev/480742230103
branches:  trunk
changeset: 785946:480742230103
user:      chs <chs%NetBSD.org@localhost>
date:      Sun Apr 07 00:49:45 2013 +0000

description:
don't overwrite the CTF info with the symbol table.

diffstat:

 sys/kern/kern_ksyms.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e1557821d446 -r 480742230103 sys/kern/kern_ksyms.c
--- a/sys/kern/kern_ksyms.c     Sun Apr 07 00:38:49 2013 +0000
+++ b/sys/kern/kern_ksyms.c     Sun Apr 07 00:49:45 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_ksyms.c,v 1.69 2013/01/17 14:36:36 matt Exp $     */
+/*     $NetBSD: kern_ksyms.c,v 1.70 2013/04/07 00:49:45 chs Exp $      */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -71,7 +71,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_ksyms.c,v 1.69 2013/01/17 14:36:36 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_ksyms.c,v 1.70 2013/04/07 00:49:45 chs Exp $");
 
 #if defined(_KERNEL) && defined(_KERNEL_OPT)
 #include "opt_ddb.h"
@@ -508,7 +508,7 @@
                return;
 
        addsymtab("netbsd", symstart, symsize, strstart, strsize,
-           &kernel_symtab, start, ctfstart, ctfsize, ksyms_nmap);
+           &kernel_symtab, symstart, ctfstart, ctfsize, ksyms_nmap);
 
 #ifdef DEBUG
        aprint_normal("Loaded initial symtab at %p, strtab at %p, # entries %ld\n",



Home | Main Index | Thread Index | Old Index