| United States-English |
|
|
|
![]() |
HP-UX Reference > aAries(5)Itanium Processor Family OnlyHP-UX 11i Version 1.6: June 2002 |
|
NAMEAries — emulate PA-RISC applications on Itanium Processor Family (IPF) DESCRIPTIONAries is a binary emulator that transparently emulates 32-bit and 64-bit HP-UX PA-RISC applications on HP-UX IPF machines. Aries is transparent in that:
The HP-UX IPF kernel recognizes a HP-UX PA-RISC executable and invokes Aries to emulate the application. Aries consists of 4 shared libraries :
aries32.so is the shared library that contains the Aries emulator for 32-bit applications. pa_boot32.so contains code to load aries32.so. Likewise, aries64.so is the emulator for 64-bit applications. pa_boot64.so loads aries64.so. Upon detecting a 32-bit HP-UX PA-RISC executable, the HP-UX IPF kernel invokes pa_boot32.so, which loads aries32.so into memory and sets it up to emulate the HP-UX PA-RISC executable. Likewise, aries64.so is loaded for a 64-bit HP-UX PA-RISC executable. Supported ApplicationsAries supports emulation of all HP-UX PA-RISC applications, with the following limitations:
PA GDB SupportAries supports debugging of PA applications on HP-UX IPF, using PA gdb. On HP-UX IPF /usr/ccs/bin contains the PA gdb32 and gdb64 binaries. A symbolic link named /usr/ccs/bin/gdbpa points to /usr/ccs/bin/gdb32. The HP-UX/IPF gdb recognizes the binary being debugged as a PA binary and launches /usr/ccs/bin/gdbpa under Aries. Debugging PA Applications on IPFThe following steps have to be followed by the user in order to debug PA applications on HP-UX IPF using PA gdb.
The rest of the debugging process is exactly similar to that followed on the HP-UX PA-RISC platform. All commands of gdb are supported subject to limitations listed under Limitations of PA GDB Support. After debugging is finished, perform the following steps.
Limitations of PA GDB SupportThe following are current limitations of PA gdb support.
Generation of PA Core FileAries supports creation of PA core file on IPF, when the emulated PA application dumps core. The size of the core file is limited by ulimit() or setrlimit() values. See ulimit(2) and setrlimit(2). The PA application core file generated by Aries will have the name as core.PA_application_name. HP-UX PA-RISC debuggers are needed to analyze core files generated by Aries for PA applications. For instance, PA application core file generated by Aries can be debugged using /usr/ccs/bin/gdbpa on IPF. Alternately, the application's core file can be taken to a PA machine and debugged using a PA debugger. However, it is a very tedious process and likely to be error-prone. After Aries has successfully written core file for PA application, it will print the following message on stderr: ARIES32/64: Core file for PA32/64 application saved to path/core.PA_application_name If the emulated PA application results in a core file named just core or core.pid, it will be Aries core dump and not that of the emulated PA application. Debugging Aries-Generated PA Core File on a Different Machine (PA or IPF)This can be done only with PA wdb-3.0.01 or later. The following steps should be followed to debug Aries-generated PA core file on a machine other than the one on which the core file was generated.
|
||||||||||||||||||||||||||||
|
|||||||||||||||