From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25768 invoked by alias); 22 Jul 2011 15:40:45 -0000 Received: (qmail 25753 invoked by uid 22791); 22 Jul 2011 15:40:42 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 22 Jul 2011 15:40:29 +0000 Received: (qmail 14185 invoked from network); 22 Jul 2011 15:40:28 -0000 Received: from unknown (HELO scottsdale.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 22 Jul 2011 15:40:28 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: [0/6] breakpoints_ops for all kinds of breakpoints Date: Fri, 22 Jul 2011 15:42:00 -0000 User-Agent: KMail/1.13.6 (Linux/2.6.38-8-generic; KDE/4.6.2; x86_64; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201107221640.25105.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-07/txt/msg00614.txt.bz2 I did yet a bit more work on: 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