HP-UX 11i Version 1.5 Release Notes, May 2001
Table Of Contents
- 1 Overview of the Release Notes
- 2 Workstation/Server Specific Information
- 3 HP-UX Features
- 4 File and Disk Management
- 5 Networking
- 6 Commands and System Calls
- 7 Programming
- aC++ Libraries
- Changes to libc
- libcres.a Library
- New libdcekt.sl and libdcecpkt.sl Libraries
- New Linux Compatible API Library
- New locale Libraries
- New Unwind Library
- X11 Libraries
- SNMP
- Machine Dependent Headers
- Threadsafe Documentation
- Obsolescence and Deprecation of APIs
- Linker Toolset
- gprof Multiple Shared Library Profiling
- CXperf Performance Monitoring Support
- HP Caliper
- WDB Debugger Tool
- ADB Debugger Tool
- Fortran
- Packaging for Specific Releases
- 8 Other Functionality

Programming
New Unwind Library
Chapter 7 107
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.
NOTE The U_STACK_TRACE() function is unchanged. It is the most commonly
used and least architecturally dependent interface into the unwinder. A
large percentage of customers who use Unwind only use
U_STACK_TRACE().
Unwind Library Name Changes
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
/usr/lib/hpux32/libunwind.so.1
and linked to
/usr/lib/hpux32/libunwind.so
The 64 bit version is at
/usr/lib/hpux64/libunwind.so.1
and linked to
/usr/lib/hpux64/libunwind.so
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.
Unwind Library Compatibility
Developers writing stack unwind routines should be aware of the
following porting compatibility issues:
• Applications which used the PA unwind library (in libcl) to perform
analysis when encountering an exception or a breakpoint (as in a
debugger) and which used entry points other than
U_STACK_TRACE() will need to change calls to the unwinder and
interpret the return codes in the enumeration _UNW_ReturnCode.