add the gdb side of symbol conversion

This adds the basics of the gdb side of symbol conversion.
It compiles but is completely untested.