Hello members, My colleague has found a problem about handling single-stepping on a multi-threaded target running on Linux box. The attached program makes two sub threads, and we do single-stepping on one of them. When the target get stopped by a internal breakpoint hit (ex. thread creation, thread death, shared library loading) during singe-stepping, GDB unconditionally resume all the thread and it result in running over the range of single-stepping. The session log below shows one of the phenomena reproduced on X86 FC6; the problem occured when the second thread was created. I can see them 10-20% of the time on our Cell hardware running FC5 (note that the program is compiled just for PPC64) and X86 FC5/FC6. ---- GNU gdb 6.6.50.20070330-cvs Copyright (C) 2007 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"... Using host libthread_db library "/lib/libthread_db.so.1". (gdb) b 14 Breakpoint 1 at 0x80484fa: file mt.c, line 14. (gdb) l 14 9 { 10 int i; 11 int cnt = *((int *) arg); 12 pid_t pid = getpid(); 13 14 for (i=0; i