I was trying to debug a threaded application on my machine (Sony Vaio laptop, i386 architecture) I'm running 6.1-RELEASE-p3 as downgrade from RELENG_6 (after upgrading 5.4->5.5) When I invoke gdb on a threaded application, I get the following: Script started on Thu Aug 24 13:32:12 2006 jes@jes-2.demon.nl:/home/jes/gnubg% gdb ./gnubg GNU gdb 6.1.1 [FreeBSD] Copyright 2004 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 "i386-marcel-freebsd"... (gdb) b main Breakpoint 1 at 0x8078a58: file gnubg.c, line 7109. (gdb) r -t Starting program: /usr/home/jes/gnubg/gnubg -t warning: Unable to get location for thread creation breakpoint: generic error Error while reading shared library symbols: PT_LWPINFO: Invalid argument. no thread to satisfy query Stopped due to shared library event (gdb) c Continuing. no thread to satisfy query 0x282381c0 in r_debug_state () from /libexec/ld-elf.so.1 (gdb) c Continuing. no thread to satisfy query 0x282381c0 in r_debug_state () from /libexec/ld-elf.so.1 (gdb) q The program is running. Exit anyway? (y or n) y jes@jes-2.demon.nl:/home/jes/gnubg% exit exit Script done on Thu Aug 24 13:32:41 2006 Anyone have any ideas what is causing this? The version from /usr/ports/devel/gdb6 doesn't do this. -- Jim Segrave jes@jes-2.demon.nl