14.35.1 Support for command line calls in a stripped executable on
In WDB, to perform command line calls in a shared library without the help of dynamic linker (using end.o), you must execute the following command:
chatr
In addition, modify all the calls to shl_load() to specify BIND_IMMEDIATE.
To perform command line calls after attaching a running process to GDB, you must execute one of the following commands:
•/opt/langtools/bin/pxdb
•chatr +dbg enable <executable>
14.35.2Additional support for command line calls in a stripped executableHP WDB enables you to perform command line calls in a stripped executable. The various scenarios in which you can make command line calls in a stripped executable are as follows:
14.35.2.1 For
To perform command line calls in a shared library, without the help of dynamic linker (using end.o), you must perform the following operations:
•Execute the chatr
•Modify all the calls to shl_load() to specify BIND_IMMEDIATE, if any.
To perform command line calls after attaching GDB to a running process, without the help of dynamic linker (using end.o), you must do the following for the program:
•Execute the chatr
•Modify all the calls to shl_load() to specify BIND_IMMEDIATE, if any.
•Execute the /opt/langtools/bin/pxdb
On
To avoid changing of the
•Use the linker option, +ea, to export symbols from an object file.
•Install the linker patch, PHSS 28870 (for 11.0) or PHSS 28871 (for 11i).
•Execute the following commands:
cc
14.35 Support for command line calls in a stripped executable 239