dbsym man page on NetBSD

Man page or keyword search:  
man Server   9087 pages
apropos Keyword Search (all sections)
Output format
NetBSD logo
[printable version]

DBSYM(8)		  BSD System Manager's Manual		      DBSYM(8)

NAME
     dbsym — copy kernel symbol table into db_symtab space

SYNOPSIS
     dbsym [-v] [-b bfdname] kernel

DESCRIPTION
     dbsym is used to copy the symbol table in a newly linked kernel into the
     db_symtab array (in the data section) so that the ddb(4) kernel debugger
     can find the symbols.  This program is only used on systems for which the
     boot program does not load the symbol table into memory with the kernel.
     The space for these symbols is reserved in the data segment using a con‐
     fig option like:

     options	    SYMTAB_SPACE=72000

     The size of the db_symtab array (the value of SYMTAB_SPACE) must be at
     least as large as the kernel symbol table.	 If insufficient space is
     reserved, dbsym will refuse to copy the symbol table.

     To recognize kernel executable format, the -b flag specifies BFD name of
     kernel.

     If the -v flag is given, dbsym will print out status information as it is
     copying the symbol table.

     Note that debugging symbols are not useful to the ddb(4) kernel debugger,
     so to minimize the size of the kernel, one should either compile the ker‐
     nel without debugging symbols (no -g flag) or use the strip(1) command to
     strip debugging symbols from the kernel before dbsym is used to copy the
     symbol table.  The command

     strip -d netbsd

     will strip out debugging symbols.

SEE ALSO
     strip(1), ddb(4)

BSD			       November 9, 2001				   BSD
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server NetBSD

List of man pages available for NetBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net