improved the implementation of gdb script

Modified:
*Added echo_char(MACRO) to replace the function which wrote in last version
(Save the characters of USART function (gdb script) into a txt file (gdb.txt))