From owner-freebsd-stable Fri Jan 7 8:28:54 2000 Delivered-To: freebsd-stable@freebsd.org Received: from btw.plaintalk.bellevue.wa.us (btw-xl1.plaintalk.bellevue.wa.us [206.129.5.130]) by hub.freebsd.org (Postfix) with ESMTP id 2ED0414DA3 for ; Fri, 7 Jan 2000 08:26:30 -0800 (PST) (envelope-from dennis.glatting@software-munitions.com) Received: from software-munitions.com (fwiw.plaintalk.bellevue.wa.us [206.129.5.157]) by btw.plaintalk.bellevue.wa.us (8.9.3/8.9.3) with ESMTP id IAA25756 for ; Fri, 7 Jan 2000 08:26:16 -0800 (PST) X-Authentication-Warning: btw.plaintalk.bellevue.wa.us: Host fwiw.plaintalk.bellevue.wa.us [206.129.5.157] claimed to be software-munitions.com Message-ID: <387613A8.A71D376B@software-munitions.com> Date: Fri, 07 Jan 2000 08:26:16 -0800 From: Dennis Glatting X-Mailer: Mozilla 4.61 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Question about GDB and threads Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Is there a tutorial on how to use GDB in a threaded app under 3.4? It appears that GDB doesn't handle threads very well and I am assuming the problem is me. Also, there seems to be a thread related problem somewhere in gethostbyname() in 3.4 even when using the libraries directly from BIND 8.2.2-P5. What is happening is a timeout is occurring in the DNS lookup but the library never returns. It would be handy of the libraries supported gethostbyname_r() where you pass a host struct (the one in bind 8.2.2-P5 merly calls gethostbyname()). -dpg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message