Merge "gdbclient: Improve error handling"