Dbx 1024 User's Guide Page 20

  • Download
  • Add to my manuals
  • Print
  • Page
    / 158
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 19
6
Chapter 2: Running dbx
Compiling and Linking Programs With Dynamic Shared Objects
This section summarizes a few things you need to know if you compile and
link your program with Dynamic Shared Objects (DSOs). A DSO is a
relocatable shared library. By linking with a DSO, you keep your program
size small and use memory efficiently.
If you compile and link with DSOs, dbx automatically notices their use in the
program and picks up the relevant debugging information. The dbx
command listobj shows any DSOs in a process. The dbx command whichobj
lists all DSOs in which the named variable is present.
See “Running Your Program” on page 9 for more description of the
differences between programs compiled and linked with DSOs and
programs compiled and linked with non-shared libraries. See also the dbx
help section on hint_dso for more information on dbx and DSOs. For more
information on DSOs, see “Using Dynamic Shared Objects” in the Compiling
and Performance Tuning Guide.
Invoking
dbx
This section describes how to invoke dbx and includes:
“dbx Options”
“Specifying Object and Core Files”
“The dbx Prompt”
“Specifying Files with dbx Commands”
To invoke dbx from the shell command line, type dbx. The syntax is:
dbx [options] [object_file [corefile]]
Page view 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 157 158

Comments to this Manuals

No comments