From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15040 invoked by alias); 17 Mar 2014 00:51:22 -0000 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 Received: (qmail 15029 invoked by uid 89); 17 Mar 2014 00:51:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 17 Mar 2014 00:51:21 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1WPLlt-0003ui-80 from Yao_Qi@mentor.com ; Sun, 16 Mar 2014 17:51:17 -0700 Received: from SVR-ORW-FEM-06.mgc.mentorg.com ([147.34.97.120]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 16 Mar 2014 17:51:17 -0700 Received: from qiyao.dyndns.org (147.34.91.1) by SVR-ORW-FEM-06.mgc.mentorg.com (147.34.97.120) with Microsoft SMTP Server id 14.2.247.3; Sun, 16 Mar 2014 17:51:16 -0700 Message-ID: <53264680.9090704@codesourcery.com> Date: Mon, 17 Mar 2014 00:51:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Tom Tromey CC: Subject: Re: [PATCH 0/5] Return error code in get_number References: <1394677950-4054-1-git-send-email-yao@codesourcery.com> <87d2hqku59.fsf@fleche.redhat.com> <532253C8.7050507@codesourcery.com> <87lhwckfq8.fsf@fleche.redhat.com> In-Reply-To: <87lhwckfq8.fsf@fleche.redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2014-03/txt/msg00356.txt.bz2 On 03/14/2014 10:38 PM, Tom Tromey wrote: > It seems to me that an MI client already knows all the breakpoint > numbers. I'm having trouble picturing the scenario where I'd want my MI > client to use a convenience variable instead. This facilitates writing MI test cases that we don't have to hard-code breakpoint numbers anymore. Keith pointed this out in the review https://sourceware.org/ml/gdb-patches/2014-01/msg00824.html and I think that is good to have, so I write this patch series. Can this justify the changes in this series? -- Yao (齐尧)