PR8554: New command to save breakpoints to a file

Sergio Durigan Junior sergiodj@redhat.com
Sat Apr 10 04:10:00 GMT 2010


On Friday 09 April 2010 14:23:31, Pedro Alves wrote:
> > Pedro> The new breakpoint_ops->print_recreate method implementation for
> > Pedro> all catchpoints is always mostly a simplified version of
> > Pedro> breakpoint_ops->print_mention method.
> > 
> > Could you enlighten me on a historical (?) point?  Why is it that some
> > kinds of breakpoints have methods like this and some do not?  Is this an
> > incomplete transition, or an intentional design choice?
> 
> I think the former.  breakpoint_ops was added initialy for some
> catchpoints in 2003.  I wasn't around then.

FWIW, Joel has kindly made fork/vfork catchpoints use the breakpoint_ops, but 
this was only in 2008.

http://sourceware.org/ml/gdb-patches/2008-10/msg00148.html

-- 
Sergio



More information about the Gdb-patches mailing list