DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Using SCODB on SVR5

Adding line numbers

In order to add line numbers into scodb:

  1. Recompile the desired modules with the cc -g -W0,-d1 options to generate DWARF I format line number debugging information.

  2. Relink a new kernel with the recompiled modules.

  3. After the new kernel is rebooted, the line number information will be printed out automatically when disassembling the modules which were recompiled with -g -W0,-d1.


    NOTE: This only works for static parts of the kernel and not dynamically loadable parts.


© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005