On Thu, 30 Apr 2009, Bruce Evans wrote:
Testing processes blocked in sleep(100) shows some bugs in truss(1): ... - under -current, truss with -p is broken. It now aborts the nanosleep() immediately with EINTR. ktrace with -p still works correctly.
This seems to be because truss now uses ptrace() instead of procfs, and ptrace() (PT_ATTACH?) generally aborts sleeps so that debuggers can get control. Another bug is that gdb -p is now broken on ref8-{amd64,i386}.freebsd.org: % GNU gdb 6.1.1 [FreeBSD] % ... % Attaching to process 19123 % /scratch/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/solib-svr4.c:1443: internal-error: legacy_fetch_link_map_offsets called without legacy link_map support enabled. % A problem internal to GDB has been detected, % further debugging may prove unreliable. % Quit this debugging session? (y or n) [y] [kills process 19123?] % /scratch/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/solib-svr4.c:1443: internal-error: legacy_fetch_link_map_offsets called without legacy link_map support enabled. % A problem internal to GDB has been detected, % further debugging may prove unreliable. % Create a core file of GDB? (y or n) [n] Bruce _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"