This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: ``set disassembly-flavour'' vs ``set architecture'' for i386
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Subject: Re: ``set disassembly-flavour'' vs ``set architecture'' for i386
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Thu, 08 Nov 2001 17:49:34 -0500
- Cc: Jim Ingham <jingham at apple dot com>, gdb at sources dot redhat dot com
- References: <5813D5A8-D479-11D5-B0DD-000393540DDC@apple.com> <3BEAD8D9.9080106@cygnus.com>
> Yes this is true and it is a user interface problem that hasn't really being resolved. Some possabilities are:
>
> set disassembly-flavour
>
> detect a change in the current architecture (frame, target) and update its self accordingly.
>
> set <arch> disassembly-flavour
>
> so that it is clear that it is only being applied to <arch>. Yet another is:
>
> set architecture <blah> [ <disassembly-flavour> ]
Just a PS. Having looked through opcodes, I suspect that the correct
command is:
set <arch> disassembler <option> [ <option> ... ]
this would best align GDB's behavour with binutils and at the same time
eliminate the color problem.
Andrew