Define a new type of memory objects with a mapping of VA/PA to the object given by the index-exp. The syntax of the expression is described in Expression Grammar.
The mobj-type must not already be defined and it cannot match any existing command, or any Index Object type (see below). Its name must be entirely composed of alphanumeric characters or the ’_’ character, and begin with an alphabetic character.
The index-exp must be syntactically correct. If it is not syntactically correct, an error is returned and the definition is ignored.
The <Unknown> memory object has an index of -1, and the expression used to define a new memory object should support recognizing <Unknown>. For example, for VADDR-based objects, the expression should be of the following form:
For PADDR-based objects, the expression should be of the following form: