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: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Cc: Richard dot Earnshaw at arm dot com, gdb at sources dot redhat dot com
- Date: Wed, 15 May 2002 10:04:10 -0400
- Subject: Re: Multi-arch and user-control of architecture flags
- References: <Pine.SUN.3.91.1020515132117.3818E-100000@is>
> On Wed, 15 May 2002, Richard Earnshaw wrote:
>
>
>> So how feasible would it be to extend the "set" and "show" commands so
>> that they could sub-set the information? For example, to allow
>>
>> set <target> <var> <value>
>>
>> and
>>
>> show <target> <var>
>>
>> or even
>>
>> show <target>
>>
>> to show all variables specific to the target.
>
>
> I don't know how hard is this, but I like the idea from the UI point of
> view.
Have a look at the ``(gdb) set mips'' command ;-) Another group with
the same problem are the ``info'' commands.
New targets, when someone remembers, are done this way. The problem is
all the old commands and for that we have have a deprecate mechanism.
The mailing lists also contain discussion about a set [<arch>]
disassembler command which would more directly tie into bfd's
disassembler option.
Andrew