This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[0/6] breakpoints_ops for all kinds of breakpoints
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 22 Jul 2011 16:40:25 +0100
- Subject: [0/6] breakpoints_ops for all kinds of breakpoints
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