On Wed, Feb 03, 2010 at 09:20:23AM +0100, Petr Salinger wrote: > They have been removed somehere during 8.0 development, > it started with 800000, the 8.0 release have 800107. > I did'n know the exact version, so please change the check to > > #if (__FreeBSD_version < 800075) && (__FreeBSD_kernel_version < 800075)
So the issue is checking __FreeBSD_version and not __FreeBSD_kernel_version? Does normal FreeBSD define both? > Please, do you have some hints how to teach gdb, > that on GNU/kFreeBSD is thread handling the same as > in linuxthreads (pre-NPTL) implementation (#550361). Sorry, I don't know how to do that. You'd need to bring in linux-thread-db.c and bits of linux-nat.c somehow. I doubt it's really the same at the level GDB sees it. -- Daniel Jacobowitz CodeSourcery -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org