From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20916 invoked by alias); 2 Aug 2012 09:17:07 -0000 Received: (qmail 20908 invoked by uid 22791); 2 Aug 2012 09:17:06 -0000 X-SWARE-Spam-Status: No, hits=-7.5 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,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; Thu, 02 Aug 2012 09:16:49 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q729Gm19002360 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 2 Aug 2012 05:16:48 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q729Glex022914; Thu, 2 Aug 2012 05:16:47 -0400 Message-ID: <501A457F.2070608@redhat.com> Date: Thu, 02 Aug 2012 09:17:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 MIME-Version: 1.0 To: Hui Zhu CC: gdb@sourceware.org Subject: Re: [Discussion] what about change the arguments of create_breakpoint to a struct? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-08/txt/msg00002.txt.bz2 On 08/02/2012 06:39 AM, Hui Zhu wrote: > create_breakpoint have 15 argument. I am not sure its number will > increase or not. But this number is increasing recently. > I thought it make code work about breakpoint not very easy. > > So I suggest change the arguments of create_breakpoint to a struct. > What do you think about it? I agree. -- Pedro Alves