This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Strange command in remote-mips.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]