Strange command in remote-mips.c

Kevin Buettner kevinb@redhat.com
Mon Apr 18 16:00:00 GMT 2005


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



More information about the Gdb mailing list