Fixed a GDB packet parsing bug.