On 06/22/2011 11:07 PM, Tom Tromey wrote: >>>>>> "Yao" == Yao Qi writes: > > Yao> 2011-06-20 Yao Qi > Yao> * infrun.c (start_remote): Move call init_wait_for_inferior to ... > Yao> * remote.c (remote_start_remote): ... here. > > I don't know anything about this code, but I did notice that > start_remote is also called from monitor.c. So it seems like this > either needs some justification or another change. monitor.c should be changed as well. Sorry for missing this chunk of change in patch. Here is a new one. Regression tested on x86_64-unknown-linux with board file native-gdbserver.exp. Some new FAILs/PASSes appears in gdb.mi/mi-nsmoribund.exp, but it is not caused this patch, IMO. -- Yao (齐尧)