Add basic error handling capabilities to gdbwire.