From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30010 invoked by alias); 2 Aug 2012 05:39:56 -0000 Received: (qmail 29738 invoked by uid 22791); 2 Aug 2012 05:39:55 -0000 X-SWARE-Spam-Status: No, hits=-3.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-gg0-f169.google.com (HELO mail-gg0-f169.google.com) (209.85.161.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 02 Aug 2012 05:39:43 +0000 Received: by ggm4 with SMTP id 4so9506708ggm.0 for ; Wed, 01 Aug 2012 22:39:42 -0700 (PDT) Received: by 10.50.202.8 with SMTP id ke8mr1455719igc.6.1343885982116; Wed, 01 Aug 2012 22:39:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.235.70 with HTTP; Wed, 1 Aug 2012 22:39:01 -0700 (PDT) From: Hui Zhu Date: Thu, 02 Aug 2012 05:39:00 -0000 Message-ID: Subject: [Discussion] what about change the arguments of create_breakpoint to a struct? To: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes 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/msg00001.txt.bz2 Hi guys, 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? Best, Hui