Specifications
Saturn The Windows ‘95 Debugger 16-75
Psy-Q Development System
Expression Evaluation Features
Register Names
Register names can be specified in any dialogue box where expressions can be
entered. By default, the evaluator looks for C symbols first, so any variables which
are the same as register names will be shown instead. If a name is being interpreted
as a register it will be prefixed by a ‘$’.
It is recommended that you use this ‘$’ prefix when entering register names to
explicitly tell the evaluator that it is looking at a register.
Note: Registers have a C type of ‘int’.
Typecasts and Typedefs
Typecasts can be entered to an expression via the usual C syntax.
If you entered ‘(int*)$fp’ to a Watch Pane you would see the following:
+int*(int*)$fp = 0x8000ff00
Typecasting also works for structure tags; however, you are not required to enter
the keyword ‘struct’ when csting to a structure tag.
You would expect to see the following when typecasting to a structure (or class):
-Tester* (Tester*)$fp = 0x807ff88
-Tester
+unsigned char* m_pName = 0x00000645
+unsigned char* mpLongName = 0xFFFFFFFF
You can also cast to typedefs; for example, entering ‘(daddr_t)p’ will produce:
long (daddr_t)p = 0x00003024