From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12396 invoked by alias); 14 Mar 2013 17:54:10 -0000 Received: (qmail 12386 invoked by uid 22791); 14 Mar 2013 17:54:09 -0000 X-SWARE-Spam-Status: No, hits=-7.6 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_SPAMHAUS_DROP,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS 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, 14 Mar 2013 17:54:02 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r2EHs2p3001114 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 14 Mar 2013 13:54:02 -0400 Received: from barimba (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r2EHs0wr011490 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 14 Mar 2013 13:54:01 -0400 From: Tom Tromey To: Phil Muldoon Cc: "gdb-patches\@sourceware.org" Subject: Re: [patch][python] 2 of 5 - Frame filter MI code changes. References: <513E5707.8080404@redhat.com> <87vc8wcpsm.fsf@fleche.redhat.com> <513F9576.30201@redhat.com> <87ip4vb38v.fsf@fleche.redhat.com> <5140D644.2010200@redhat.com> <87oben9har.fsf@fleche.redhat.com> <5140E73D.9010008@redhat.com> <87k3pb9fy5.fsf@fleche.redhat.com> <5140EB48.1020307@redhat.com> Date: Thu, 14 Mar 2013 17:54:00 -0000 In-Reply-To: <5140EB48.1020307@redhat.com> (Phil Muldoon's message of "Wed, 13 Mar 2013 21:10:32 +0000") Message-ID: <87fvzx7tqf.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: 2013-03/txt/msg00643.txt.bz2 >>>>> "Phil" == Phil Muldoon writes: Phil> Originally I did do that, but the error message if you mistype an Phil> option generated by mi_getopt is wrong: Phil> -stack-list-frames --no-frame-falters Phil> ^error,msg="-stack-list-frames: Unknown option ``-no-frame-falters''" Phil> (gdb) Well, it is correct, just weird :) Phil> I am not sure what you mean other callers, though. Your patch causes all other mi_getopt callers to accept "--flag" as a synonym for "-flag". They don't do this now. Phil> What do you prefer? I think a funny error message, for MI clients only, has the least impact of the choices we're considering. Tom