Initial support for reading registers and memory.

Memory reading is currently disabled, because gdb is requesting reads of
addresses that we can't read, and it gets upset when the read fails.  TODO.