[0/6] breakpoints_ops for all kinds of breakpoints

Pedro Alves pedro@codesourcery.com
Fri Jul 22 15:42:00 GMT 2011


I did yet a bit more work on:

 <http://sourceware.org/ml/gdb-patches/2011-06/msg00374.html>

This converts all breakpoint kinds to the breakpoint_ops
mechanism.

IMO, this is committable as is.  WDYT?

There's a lot left to do still.  E.g.: The print_one method
is still left behind; insert/removal could do with better
abstracting; a lot of tangling revealed by the need for 
special checks of tracepoint/watchpoint types at inner layers
of breakpoint creation; there are many places that still
switch on the breakpoint's type, as there's no breakpoint_ops
equivalent for what they're doing.

No regressions for me, native or gdbserver x86_64-linux.

-- 
Pedro Alves



More information about the Gdb-patches mailing list