| United States-English |
|
|
|
![]() |
HP-UX 11i Version 1.5 Release Notes: release id B.11.20for rx9610 and rx4610 hp serversand i2000 hp workstations > Chapter 7 ProgrammingNew Unwind Library |
|
HP-UX 11i Version 1.5 (B.11.20) includes a procedure call stack unwind support library, libunwind (also accessible by linking to libcl). With the new library, you need not link to a large library which contains unrelated support such as Pascal Try/Recover, Fortran IO, and Packed Decimal support to use the unwind functions. Changes to the library include:
Value get and put functions will be used to read and to modify the unwind context data structure. This allows the library to properly encapsulate the data, protecting client code from changes in the implementation of the unwinder. Function name, signature, and specification changes: Because the unwinder is sensitive to the processor architecture and the run-time architecture, the IPF unwinder will have different entry points than the PA unwinder. Type
or
for unwinder documentation. The set of text error messages produced by the unwind library has been replaced with the enumeration _UNW_ReturnCode in the /usr/include/unwind.h header file. This allows programatic operation of the unwinder.
HP-UX 11i Version 1.5 (B.11.20) includes both 32 and 64 bit versions of the unwind library. The 32 bit version is at
and linked to
The 64 bit version is at
and linked to
To prevent link line compatibility issues during a port from PA to IPF, /usr/lib/hpux32/libcl.so and /usr/lib/hpux64/libcl.so each list the appropriate libunwind.so as a dependency. Also, libcl.so lists the appropriate Fortran I/O support library as a dependency. Developers writing stack unwind routines should be aware of the following porting compatibility issues:
Information on entry points to the unwinder can be found on the unwind(5) manual page. Additional information about the generation and layout of unwind information on Itanium-based systems, and about coding conventions for producing unwindable code, but not about the unwind library itself, is available in the Runtime Architecture documents listed below. These documents can be found on the web at http://devresource.hp.com.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||