This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Strange command in remote-mips.c
- From: Kevin Buettner <kevinb at redhat dot com>
- To: gdb at sources dot redhat dot com
- Date: Mon, 18 Apr 2005 09:00:37 -0700
- Subject: Re: Strange command in remote-mips.c
- Organization: Red Hat
- References: <01c5427d$Blat.v2.4$123c15c0@zahav.net.il>
On Sat, 16 Apr 2005 15:07:56 +0300
"Eli Zaretskii" <eliz@gnu.org> wrote:
> The file remote-mips.c defines the following command:
>
> add_com ("pmon <command>", 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 <command>"?
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 <command>", class_obscure, st2000_command,
./remote-sim.c[894]: add_com ("sim <command>", class_obscure, simulator_command,
./remote-utils.c[607]: add_com ("remote <command>", class_obscure, sr_com,
./remote-mips.c[3419]: add_com ("pmon <command>", class_obscure, pmon_command,
Kevin