Introduced prompt and gdb completion.

Note only the gdb console is currently supported.