This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: remove global stop_bpstat dependency from breakpoints module
A Thursday 05 June 2008 19:33:47, Daniel Jacobowitz wrote:
> On Thu, Jun 05, 2008 at 07:27:07PM +0100, Pedro Alves wrote:
> > As I said, I would mind at all to change this to the read
> > the PC of the current thread. Just pointing out the current
> > behaviour.
>
> I think that would be correcting it to the right behavior. In 99% of
> the cases where this is used at all, they mean the same thing.
I'll just post a patch to do that.
> I don't like reference counting as a solution to clear memory
> management. Sometimes it's necessary or helpful, but here I think it
> just gives us room to be careless (and have to worry more about
> leaks).
Ok. Obviously, I disagree. :-)
--
Pedro Alves