In my STM32F401 program I have a file-static variable “batteryInput”, there are no other variables with that name in the project. When I try to add “batteryInput” to the Live Variables view I get a VisualGDB message box that says “Parsing expression address resulted in a value that cannot be parsed as an address”.
In the GDB Session window I see the following as the var create succeeds:
-var-create – * “&(batteryInput)”
^done,name=”var9″,numchild=”1″,value=””,type=”uint32_t *”,has_more=”0″
-var-evaluate-expression “var9″
^done,value=””
-exec-continue
^running
*running,thread-id=”all”
But notice that GDB returns a empty string for the evaluation.
I thought GDB should be able to work with this?
Sid