From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3438 invoked by alias); 18 Apr 2005 16:00:59 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 3031 invoked from network); 18 Apr 2005 16:00:44 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 18 Apr 2005 16:00:44 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j3IG0hjT010049 for ; Mon, 18 Apr 2005 12:00:43 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j3IG0hO25385 for ; Mon, 18 Apr 2005 12:00:43 -0400 Received: from localhost.localdomain (vpn50-9.rdu.redhat.com [172.16.50.9]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id j3IG0geV013533 for ; Mon, 18 Apr 2005 12:00:43 -0400 Received: from ironwood.lan (ironwood.lan [192.168.64.8]) by localhost.localdomain (8.12.11/8.12.10) with ESMTP id j3IG0bnS029308 for ; Mon, 18 Apr 2005 09:00:37 -0700 Date: Mon, 18 Apr 2005 16:00:00 -0000 From: Kevin Buettner To: gdb@sources.redhat.com Subject: Re: Strange command in remote-mips.c Message-ID: <20050418090037.79503cb7@ironwood.lan> In-Reply-To: <01c5427d$Blat.v2.4$123c15c0@zahav.net.il> References: <01c5427d$Blat.v2.4$123c15c0@zahav.net.il> Organization: Red Hat Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2005-04/txt/msg00116.txt.bz2 On Sat, 16 Apr 2005 15:07:56 +0300 "Eli Zaretskii" wrote: > The file remote-mips.c defines the following command: > > add_com ("pmon ", class_obscure, pmon_command, > _("Send a packet to PMON (must be in debug mode).")); > > Isn't this a bug? Shouldn't it say just "pmon" instead of > "pmon "? It looks like a bug to me. It appears to me that there are three other similar bugs: ./remote-st.c[799]: add_com ("st2000 ", class_obscure, st2000_command, ./remote-sim.c[894]: add_com ("sim ", class_obscure, simulator_command, ./remote-utils.c[607]: add_com ("remote ", class_obscure, sr_com, ./remote-mips.c[3419]: add_com ("pmon ", class_obscure, pmon_command, Kevin