From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10311 invoked by alias); 10 Apr 2010 04:10:19 -0000 Received: (qmail 10171 invoked by uid 22791); 10 Apr 2010 04:10:18 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 10 Apr 2010 04:10:13 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3A4A5Qs017481 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 10 Apr 2010 00:10:05 -0400 Received: from psique.localnet (vpn-237-16.phx2.redhat.com [10.3.237.16]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o3A4A4kW012053; Sat, 10 Apr 2010 00:10:04 -0400 From: Sergio Durigan Junior To: gdb-patches@sourceware.org Subject: Re: PR8554: New command to save breakpoints to a file Date: Sat, 10 Apr 2010 04:10:00 -0000 User-Agent: KMail/1.13.1 (Linux/2.6.32.9-70.fc12.x86_64; KDE/4.4.1; x86_64; ; ) Cc: Pedro Alves , tromey@redhat.com References: <201004090341.14389.pedro@codesourcery.com> <201004091823.31659.pedro@codesourcery.com> In-Reply-To: <201004091823.31659.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201004100110.02838.sergiodj@redhat.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: 2010-04/txt/msg00292.txt.bz2 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