Other Modified Forms of Expressions

The whatis_command  supports supersets of the normal expression  syntax of the language.

 

whatis-expressions

        : whatis-expressions for C

        | whatis-expressions for C++

        | whatis-expressions for Fortran

 

Some commands (notably the examine command and the cont command) have a syntax that inhibits the use of a full expression. In this case, a more limited form of expression is still allowed.

 

address-exp

        : address-exp for C

        | address-exp for C++

        | address-exp for Fortran

 

The cont command and the change_stack_frame_commands  have a form that specifies where to continue to, or where to cut the stack back to.

 

loc

        : loc for C

        | loc for C++

        | loc for Fortran

 

The target  of a modifying_command  can only be a subset of the possible expressions, known as a unary-expression.

 

unary-expression

        : unary-expression for C

        | unary-expression for C++

        | unary-expression for Fortran