TotalView Reference Guide : Part III: Platforms and Operating Systems : Operating Systems : Shared Libraries : Using Shared Libraries on HP-UX
Using Shared Libraries on HP-UX
The dynamic library loader on HP-UX loads shared libraries into shared memory. Writing breakpoints into code sections loaded in shared memory can cause programs not under TotalView control to fail when they execute an unexpected breakpoint.
If you need to single-step or set breakpoints in shared libraries, you must set your application to load those libraries in private memory. This is done using HP’s pxdb command.
pxdb -s on appname (load shared libraries into
private memory)
pxdb -s off appname (load shared libraries into
shared memory)
For 64-bit platforms, use pxdb64 instead of pxdb. If the version of pxdb64 supplied with HP's compilers does not work correctly, you may need to install an HP-supplied patch. You will find additional information in the TotalView Release Notes at http://www.roguewave.com/products/totalview.aspx.