Whenever the debugger performs a language-specific
operation, a language manager provides the necessary language-specific
information. This chapter describes the language managers that enable
the debugger to evaluate expressions and declarations in different
languages. Consult this chapter for information specific to the
language managers, such as the value of the language_type
argument to the print
command's -language
option.
On HP-UX systems, the debugger uses HP C, HP C++, HP FORTRAN,
and HP Pascal high-level language managers and an HP-UX PA-RISC
assembly language manager. On Solaris systems, the debugger uses
a SPARC assembly language manager.
This chapter provides the following information about each
manager:
- Type Name
Identifies the name used for the manager as installed.
- Title
Contains the name that the manager uses to identify
itself. To list the titles of the managers currently loaded, use
the version command.
The following is an example of the output:
dde, version 4.0 User interface manager ui_gui: GUI-Mode UI, version 4.0 Target manager tgt_hpux_pa: HP-UX PA-RISC, version 4.0 DBGK 4.0 Object manager obj_som_som: HP SOM, version 4.0 Language manager lang_c: ANSI C, version 4.0
|
In the output of the preceding version
command, the language manager title is ANSI C.
The language type name is lang_c.
- Description
Briefly describes what the manager does and does
not support.
- Syntax
Describes the syntax of debugger command arguments
such as expression, declaration,
and address that vary among the managers.
The manager_option argument represents
options you can specify with the property flags
command to change the behavior of a manager.
Currently, the language managers do not offer any options
through the manager_option argument.
You can use type names or synonyms wherever the syntax of
a debugger command calls for a type, such as language_type.
For example, the following property
command specifies pc
(a synonym for the type name lang_pas_hp)
as the language_type:
You can create a new synonym for a language type name by creating
a link to the language type name in the directory /opt/langtools/dde/lang.
For example, to make p
a valid language type, enter the following commands (as superuser):
cd /opt/langtools/dde/lang ln -s lang_pas_hp p
|
- Startup File
Describes the startup file that executes when the
debugger loads the manager. The language managers do not use startup
files.
- Related Managers
Lists other types of managers related to this manager.
Names, titles, and syntax specific to the language managers
are described in the following sections.