Closed epasveer closed 2 years ago
When the MemoryVisualizer is given a variable expression (&variable, $pc, etc.), it sends this to gdb. gdb will return the address result.
Typically it is in the form of '0x400c12'.
For some reason, it the variable expression is '0x400c12', gdb will return the address result in the form set by 'output-radix'.
show output-radix
Default output radix for printing of values is 10.
The default radix is 10. So the result is:
done,value=\"4197394\"
If the default radix is set to hex:
set output-radix 16
Output radix now set to decimal 16, hex 10, octal 20.
Things work:
done,value=\"0x400c12\"
I don't like forcing 'output-radix' to make Seer work. So I'll change the MemoryVisualizer to support both results:
done,value=\"4197394\"
done,value=\"0x400c12\"
Fix for memory and array visualizers. Closing task.
The 'Starting address' field should allow an address to be entered. Instead, it gives an error of 'not an address'.