10.When you finish with the debugging session, you can exit the debugger normally:
(gdb) q
The following modules in /dev/src/mysum have been fixed: /dev/src/sum.c
Remember to remake the program.
The debugger message lists the source files that you have changed during the debugging session.
NOTE: You must rebuild the program after you use the fix command because the changes you make are temporarily patched into the executable image. The changes are lost when you exit the debugger or you load a different executable.
14.8 Inline Support
HP WDB enables you to debug inline functions in applications compiled with
14.8.1Inline Debugging in HP 9000 Systems
To debug inline functions in HP 9000 systems, complete the following steps:
1.Compile the source files with the +inline_debug option. For example:
/opt/aCC/bin/aCC
2.Inline debugging is enabled by default. To explicitly enable or disable inline de- bugging, complete either of the following steps before loading the application to the debugger:
$ gdb
(gdb) set
150