Adding line numbers
In order to add line numbers into scodb:
Recompile the desired modules with the cc -g -W0,-d1 options
to generate DWARF I format line number debugging information.
Relink a new kernel with the recompiled modules.
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.
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