gdb/tracei: First shot at instruction tracing

Can record register changes, function boundaries, and (on power64)
memory changes.