Steps to reproduce: 1. $ gdb 2. (gdb) attach 12688 3. (gdb) continue Actual results: Output: Continuing. warning: Mach error at "darwin-nat.c:726" in function "darwin_resume_thread": (os/kern) failure (0x5) The attached process continues to run normally, but gdb does not break on Ctrl-C. When the attached process terminates, gdb returns to the (gdb) prompt. Expected results: gdb should break on Ctrl-C. Running GNU gdb (GDB) 7.5.50.20120806-cvs (configured as "x86_64-apple-darwin10.8.0") on Darwin iMac.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386
I can confirm this bug. Same behavior with gdb 7.6 on Darwin nyu.local 12.3.0 Darwin Kernel Version 12.3.0 (Mac OSX 10.8.3)