Hi, This is because in linux_wait_1, it didn't add any check just call run_breakpoint_commands (event_child->stop_pc); So I add a check call run_breakpoint_commands only when condition is true. Because I don't know howto handle the output in gdbserver. So I didn't add test for it. Thanks, Hui 2013-04-23 Hui Zhu PR gdb/15180 * linux-low.c (linux_wait_1): Add a check before call run_breakpoint_commands.