Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Quentin Garnier <cube@netbsd.org>
List: source-changes
Date: 11/17/2003 10:16:18
Module Name: src
Committed By: cube
Date: Mon Nov 17 10:16:18 UTC 2003
Modified Files:
src/sys/ddb: db_sym.c
src/sys/kern: kern_ksyms.c kern_lkm.c
src/sys/sys: ksyms.h
Log Message:
o Fix a bug in ksyms that changed the real meaning of st_name entries for
symbols, and made it impossible for the kernel to use that value, and
correctly find symbols from LKMs.
o Allow LKM users to use DDB to debug the entry function of a LKM by
loading the symbol table with the temporary name /lkmtemp/ before calling
it, and then renaming it once we know the module name.
Approved by ragge@.
To generate a diff of this commit:
cvs rdiff -r1.44 -r1.45 src/sys/ddb/db_sym.c
cvs rdiff -r1.16 -r1.17 src/sys/kern/kern_ksyms.c
cvs rdiff -r1.69 -r1.70 src/sys/kern/kern_lkm.c
cvs rdiff -r1.7 -r1.8 src/sys/sys/ksyms.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.