To test your program, open three terminal windows. One will be used to
communicate with the USB/UART adaptor, a second will be used to execute
the gdb server, and the third to execute gdb.
Start the screen program to communicate with the USB/UART adaptor.
In the gdbserver window, execute