HP-UX Reference (11i v2 04/09) - 5 Miscellaneous Topics (vol 9)
a
Aries(5) Aries(5)
(Itanium(R)-based System Only)
1. Transfer the core file and all the shared libraries used by the PA-RISC application from the Itanium-
based machine where the core dump file was generated to the target machine.
2. Set the environment variable
GDB_SHLIB_PATH to a colon-separated list of directory path names
where the transferred shared libraries reside.
3. Run
gdb as:
$ gdb PA_application PA_core_file
ARIES RESOURCE CONFIGURATION FILE: PASSING OPTIONS TO ARIES
Because Aries is a shared library, options are passed to it through a resource configuration file. The
Aries resource configuration file name is one of the following:
•
.ariesrc for 32-bit Aries (aries32.so)
•
.aries64rc for 64-bit Aries (aries64.so
)
Aries Resource Configuration File Format
The Aries resource configuration file may contain multiple lines each of the following format:
<full-path-of-PA-RISC-application1> <aries-options>
<full-path-of-PA-RISC-application2> <aries-options>
...
<full-path-of-PA-RISC-applicationn> <aries-options>
Exception: Instead of the full path of the PA-RISC application, you can specify the root (
/) path. If the
root (
/) path is specified, the following options are applied to all PA-RISC applications being executed
through Aries. Specifying the root directory (/) in the first column acts as a wildcard and all lines con-
taining the individual application names are ignored. All PA-RISC applications will execute under Aries
with the Aries options specified after the root (/) path.
The following rules specify the format of Aries resource configuration files.
1. Separate the application path name and Aries options by white spaces (for example, tab or space).
Multiple instances of white spaces are considered as single white space.
2. Specify the application path name or the root (
/) path starting from first column.
3. Specifying an invalid Aries option causes a fatal error and terminates the emulated application.
4. An Aries resource configuration file may contain entries for multiple applications. In that case there
should be separate lines beginning with each application name.
Aries Resource Configuration File Search Path
Aries looks for resource configuration file in following locations:
• Root directory (
/)
• User´s home directory pointed to by the environment variable
HOME
The Aries search mechanism for resource configuration file is characterized by the following:
1. The Aries resource configuration file found in root directory (
/) is the system-wide Aries resource
configuration file. Aries options specified in this file will be applied to all invocations of PA-RISC
HP-UX applications on the machine.
2. The Aries resource configuration file found in the user´s home directory is that user´s private Aries
resource configuration file. Aries options specified in this file are applied to all the PA-RISC applica-
tions invoked by the user.
3. Aries first processes the resource configuration file found in root directory (
/) and then processes the
file found in user´s home directory.
4. Aries option processing is additive in nature. If an Aries resource configuration file is found in both
paths, that is, in the root directory (
/) and in a user´s home directory, then Aries will give preference
to options present in the user´s private Aries resource configuration file. If the same Aries option is
present in both the resource configuration files, then the value of the option specified in the user´s
private resource configuration will overwrite the value of option present in system-wide resource
configuration file.
5. If Aries finds the value of environment variable
HOME to be NULL, or the path is not accessible, it
does not process the Aries resource configuration file in the user´s home directory.
Section 5−−42 Hewlett-Packard Company − 3 − HP-UX 11i Version 2: September 2004