This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Multi-arch and user-control of architecture flags
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: Richard dot Earnshaw at arm dot com
- Cc: Eli Zaretskii <eliz at is dot elta dot co dot il>, gdb at sources dot redhat dot com
- Date: Wed, 15 May 2002 10:21:48 -0400
- Subject: Re: Multi-arch and user-control of architecture flags
- References: <200205151411.PAA23686@cam-mail2.cambridge.arm.com>
>
> Hmm, yep, that looks like what I want.
>
> Note, however, there's something odd here...
>
> /* Add root prefix command for all "set mips"/"show mips" commands */
> add_prefix_cmd ("mips", no_class, set_mips_command,
> "Various MIPS specific commands.",
> &setmipscmdlist, "set mips ", 0, &setlist);
>
> add_prefix_cmd ("mips", no_class, show_mips_command,
> "Various MIPS specific commands.",
> &showmipscmdlist, "show mips ", 0, &showlist);
> Then at the end of the file:
>
> /* Debug this files internals. */
> add_show_from_set (add_set_cmd ("mips", class_maintenance, var_zinteger,
> &mips_debug, "Set mips debugging.\n\
> When non-zero, mips specific debugging is enabled.", &setdebuglist),
> &showdebuglist);
>
> One of these must shadow the other....
The latter is ``set debug mips''. showdebuglist vs showmipscmdlist.
Yes, bad variable names.
Andrew