From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31578 invoked by alias); 17 Nov 2012 02:22:11 -0000 Received: (qmail 31566 invoked by uid 22791); 17 Nov 2012 02:22:10 -0000 X-SWARE-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 17 Nov 2012 02:22:04 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1TZY2l-00069V-It from Yao_Qi@mentor.com ; Fri, 16 Nov 2012 18:22:03 -0800 Received: from SVR-ORW-FEM-05.mgc.mentorg.com ([147.34.97.43]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 16 Nov 2012 18:22:03 -0800 Received: from qiyao.dyndns.org (147.34.91.1) by svr-orw-fem-05.mgc.mentorg.com (147.34.97.43) with Microsoft SMTP Server id 14.1.289.1; Fri, 16 Nov 2012 18:22:02 -0800 Message-ID: <50A6F4B7.20404@codesourcery.com> Date: Sat, 17 Nov 2012 02:22:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: Tom Tromey CC: Subject: Re: RFC: implement "catch signal" References: <874nkpv03j.fsf@fleche.redhat.com> In-Reply-To: <874nkpv03j.fsf@fleche.redhat.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit 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: 2012-11/txt/msg00478.txt.bz2 On 11/17/2012 03:06 AM, Tom Tromey wrote: > * breakpoint.c (base_breakpoint_ops): No longer static. > (bpstat_explains_signal): New function. > (init_catchpoint): No longer static. > (base_breakpoint_explains_signal): New function. > (base_breakpoint_ops): Initialize new field. > * breakpoint.h (enum bpstat_signal_value): New. > (struct breakpoint_ops) : New field. > (bpstat_explains_signal): Remove macro, declare as function. > (base_breakpoint_ops, init_catchpoint): Declare. > * break-catch-sig.c: New file. FWIW, I am happy to see that some interfaces are exposed from breakpoint.c, and this new feature is implemented in a new file instead of in already-too-long breakpoint.c. -- Yao (齐尧)