From owner-freebsd-bugs Fri Feb 21 18:20:03 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA14117 for bugs-outgoing; Fri, 21 Feb 1997 18:20:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA14103; Fri, 21 Feb 1997 18:20:01 -0800 (PST) Date: Fri, 21 Feb 1997 18:20:01 -0800 (PST) Message-Id: <199702220220.SAA14103@freefall.freebsd.org> To: freebsd-bugs Cc: From: Mike Pritchard Subject: Re: kern/1848 Reply-To: Mike Pritchard Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR kern/1848; it has been noted by GNATS. From: Mike Pritchard To: grog@lemis.de Cc: freebsd-gnats-submit Subject: Re: kern/1848 Date: Fri, 21 Feb 1997 18:15:43 -0800 (PST) Greg Lehey wrote: > It's possible to set breakpoints in shared libraries, but > executing the code doesn't cause a SIGTRACE. > > I consider this problem relatively serious because it makes it > very difficult to catch bugs by waiting for them to issue a > system call. In this case, the new version of sendmail is > calling gethostbyaddr() even though it has been compiled > without DNS support. Why not link the binary with -static so you can debug it? Have you tried the latest gdb in -current to see what it does? -- Mike Pritchard mpp@FreeBSD.org "Go that way. Really fast. If something gets in your way, turn"