From owner-freebsd-current Sun Oct 20 08:00:46 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA24929 for current-outgoing; Sun, 20 Oct 1996 08:00:46 -0700 (PDT) Received: from scrooge.ee.swin.oz.au (scrooge.ee.swin.oz.au [136.186.4.20]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id IAA24913 for ; Sun, 20 Oct 1996 08:00:42 -0700 (PDT) Received: (from dtc@localhost) by scrooge.ee.swin.oz.au (8.6.9/8.6.9) id BAA17461; Mon, 21 Oct 1996 01:02:23 +1000 From: Douglas Thomas Crosher Message-Id: <199610201502.BAA17461@scrooge.ee.swin.oz.au> Subject: Re: kern/1848: breakpoints in shared libraries don't fire To: msmith@atrad.adelaide.edu.au (Michael Smith) Date: Mon, 21 Oct 1996 01:02:22 +1000 (EST) Cc: freebsd-current@freebsd.org In-Reply-To: <199610201432.AAA01800@genesis.atrad.adelaide.edu.au> from "Michael Smith" at Oct 21, 96 00:02:49 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > > It's possible to set breakpoints in shared libraries, but > > > executing the code doesn't cause a SIGTRACE. > > Setting a breakpoint in a shared library would be Bad, as you don't > have any way of telling who else it is shared with. I suspect that > the attempt to set the trace is silently failing. What about pages mmapped MAP_PRIVATE, couldn't the page be copied for private use when the breakpoint is set? Regards Douglas Crosher