Standard Target Features (Debugging with ROCGDB)

Previous: Enum Target Types, Up: Target Descriptions [Contents][Index]

### G.5 Standard Target Features

A target description must contain either no registers or all the target’s registers. If the description contains no registers, then ROCGDB will assume a default register layout, selected based on the architecture. If the description contains any registers, the default layout will not be used; the standard registers must be described in the target description, in such a way that ROCGDB can recognize them.

This is accomplished by giving specific names to feature elements which contain standard registers. ROCGDB will look for features with those names and verify that they contain the expected registers; if any known feature is missing required registers, or if any required feature is missing, ROCGDB will reject the target description. You can add additional registers to any of the standard features — ROCGDB will display them just as if they were added to an unrecognized feature.

This section lists the known features and their expected contents. Sample XML documents for these features are included in the ROCGDB source tree, in the directory `gdb/features`.

Names recognized by ROCGDB should include the name of the company or organization which selected the name, and the overall architecture to which the feature applies; so e.g. the feature containing ARM core registers is named ‘`org.gnu.gdb.arm.core`’.

The names of registers are not case sensitive for the purpose of recognizing standard features, but ROCGDB will only display registers using the capitalization used in the description.

Previous: Enum Target Types, Up: Target Descriptions [Contents][Index]