The whatis_command supports supersets of the normal expression syntax of the language.
whatis-expressions
| 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
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
The target of a modifying_command can only be a subset of the possible expressions, known as a unary-expression.
unary-expression