From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8905 invoked by alias); 25 Sep 2009 05:35:27 -0000 Received: (qmail 8895 invoked by uid 22791); 25 Sep 2009 05:35:26 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.45.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 25 Sep 2009 05:35:23 +0000 Received: from wpaz1.hot.corp.google.com (wpaz1.hot.corp.google.com [172.24.198.65]) by smtp-out.google.com with ESMTP id n8P5ZKH3020057 for ; Thu, 24 Sep 2009 22:35:20 -0700 Received: from gxk8 (gxk8.prod.google.com [10.202.11.8]) by wpaz1.hot.corp.google.com with ESMTP id n8P5ZIWB025071 for ; Thu, 24 Sep 2009 22:35:18 -0700 Received: by gxk8 with SMTP id 8so581269gxk.1 for ; Thu, 24 Sep 2009 22:35:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.130.36 with SMTP id c36mr1619990ybd.180.1253856918311; Thu, 24 Sep 2009 22:35:18 -0700 (PDT) In-Reply-To: <200909242338.37707.sergiodj@linux.vnet.ibm.com> References: <20090925003107.87780843AC@ruffy.mtv.corp.google.com> <200909242302.48369.sergiodj@linux.vnet.ibm.com> <20090925022021.GK2112@adacore.com> <200909242338.37707.sergiodj@linux.vnet.ibm.com> Date: Fri, 25 Sep 2009 05:35:00 -0000 Message-ID: Subject: Re: [RFC] Wording of "catch syscall " warning From: Doug Evans To: =?ISO-8859-1?Q?S=E9rgio_Durigan_J=FAnior?= Cc: Joel Brobecker , gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true X-IsSubscribed: yes 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: 2009-09/txt/msg00779.txt.bz2 2009/9/24 S=E9rgio Durigan J=FAnior : > On Thursday 24 September 2009, Joel Brobecker wrote: >> =A0 =A0 warning: This debugger was compiled without XML support. >> =A0 =A0 It will not be able to verify the validity of syscall numbers. > > I see your point. =A0We already warn the user (only once) if GDB won't be= able > to display syscall names, but we don't tell anything about GDB not being = able > to verify the validity of syscall numbers. =A0Maybe we should include this > information in this "one-time warning", and remove the other warnings the= n. "works for me", modulo I tend to gloss over the messages gdb prints at start up. :-) OTOH, I'm all for keeping the code simple too. One thing I don't like about my patch is that I'd rather only print the warning once too. So how about for now just enhancing the warning at start up, and not printing anything later on.