Hi, all:
Recently I have been very interested in this stuff, by using gdb 's target remote
I can connect to gdb_stub successfully. Now I could make gdb to set breakpoint, continue,
ctrl+c to come back, k to quit to normal and connect it again. But it's not perfect, it always
crash occasionally when I press 's' to step into, or press 'n' to pass a fucntion.
 
I don't know it's or not gdb_stub's bug,  right now I prone to suspect 'M' which command
inserts a int3'0xcc' may have some imperfect. if so, how to fix it, hope somebody who is
proficient at it or have met the same problem can help me, thanks a lot!
 

tpopusher