The void MemoryPanel::OnTextEnter(wxCommandEvent& event) function does not allot users to enter a variable name into the address (ID_TEXTCTRL1) field as the function only allows for an int value.
The C::B existing memory dump dialog allows end users to enter a hex address or a variable or a complex expression.
The GDB 11.2 command "-data-read-memory-bytes" has the following synposis for address:
‘address’ An expression specifying the address of the first addressable memory unit to be read. Complex expressions containing embedded white space should be quoted using the C convention.
GDB Example
(gdb)
-data-read-memory-bytes &a 10
^done,memory=[{begin="0xbffff154",offset="0x00000000",
end="0xbffff15e",
contents="01000000020000000300"}]
(gdb)
The void MemoryPanel::OnTextEnter(wxCommandEvent& event) function does not allot users to enter a variable name into the address (ID_TEXTCTRL1) field as the function only allows for an int value.
The C::B existing memory dump dialog allows end users to enter a hex address or a variable or a complex expression.
The GDB 11.2 command "-data-read-memory-bytes" has the following synposis for address:
‘address’ An expression specifying the address of the first addressable memory unit to be read. Complex expressions containing embedded white space should be quoted using the C convention.
GDB Example
(gdb)
-data-read-memory-bytes &a 10
^done,memory=[{begin="0xbffff154",offset="0x00000000",
end="0xbffff15e",
contents="01000000020000000300"}]
(gdb)