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: Richard Earnshaw <rearnsha at arm dot com>
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Cc: Eli Zaretskii <eliz at is dot elta dot co dot il>, Richard dot Earnshaw at arm dot com, gdb at sources dot redhat dot com
- Date: Wed, 15 May 2002 15:11:19 +0100
- Subject: Re: Multi-arch and user-control of architecture flags
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
ac131313@cygnus.com said:
> Have a look at the ``(gdb) set mips'' command ;-) Another group with
> the same problem are the ``info'' commands.
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....
R.