After I executed the gdb command "target remote /dev/ttyS0" on my client machine, the target machine is connected.
Then I executed the gdb command "continue" on my client machine, and then, I couldn't control the target machine again. I mean I can't break the target machine any more, and I can't enter gdb commands any more, the screen just shows:

(gdb)continue
continue.