From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25583 invoked by alias); 6 Mar 2014 06:45:43 -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 25565 invoked by uid 89); 6 Mar 2014 06:45:42 -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; Thu, 06 Mar 2014 06:45:40 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1WLS3k-00055p-DW from Yao_Qi@mentor.com ; Wed, 05 Mar 2014 22:45:36 -0800 Received: from SVR-ORW-FEM-02.mgc.mentorg.com ([147.34.96.206]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Wed, 5 Mar 2014 22:45:36 -0800 Received: from qiyao.dyndns.org (147.34.91.1) by svr-orw-fem-02.mgc.mentorg.com (147.34.96.168) with Microsoft SMTP Server id 14.2.247.3; Wed, 5 Mar 2014 22:45:35 -0800 Message-ID: <53181900.8000304@codesourcery.com> Date: Thu, 06 Mar 2014 06:45: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: Joel Brobecker CC: Subject: Re: [OBV PATCH 1/4] Add a newline in output messages References: <1394023608-10761-1-git-send-email-yao@codesourcery.com> <1394023608-10761-2-git-send-email-yao@codesourcery.com> <20140305142236.GA16858@adacore.com> In-Reply-To: <20140305142236.GA16858@adacore.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2014-03/txt/msg00148.txt.bz2 On 03/05/2014 10:22 PM, Joel Brobecker wrote: > Obvious indeed. > Patch is pushed in. > The error handling is a little different from the usual, where error > would typically be used; especially since zero can be a valid number. Yes, a message is printed out, and let the caller to decide whether to throw an error. > And this leads to this sort of odd behavior: > > (gdb) set $v := 1.1 > (gdb) b a > Breakpoint 1 at 0x401558: file a.adb, line 3. > (gdb) cond $v 1 = 1 > Convenience variable must have integer value. > Bad breakpoint argument: '$v 1 = 1' Sorry, I don't find anything odd here. Is the odd behavior to print two lines for an invalid input? -- Yao (齐尧)