Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Oct 1996 01:02:22 +1000 (EST)
From:      Douglas Thomas Crosher  <dtc@scrooge.ee.swin.oz.au>
To:        msmith@atrad.adelaide.edu.au (Michael Smith)
Cc:        freebsd-current@freebsd.org
Subject:   Re: kern/1848: breakpoints in shared libraries don't fire
Message-ID:  <199610201502.BAA17461@scrooge.ee.swin.oz.au>
In-Reply-To: <199610201432.AAA01800@genesis.atrad.adelaide.edu.au> from "Michael Smith" at Oct 21, 96 00:02:49 am

next in thread | previous in thread | raw e-mail | index | archive | help

> > > 	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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610201502.BAA17461>