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: Jim Ingham <jingham at apple dot com>
- Date: Thu, 8 Nov 2001 16:17:20 -0800
- Cc: gdb at sources dot redhat dot com
ANdrew,
Yes, that seems pretty good.
Jim
On Thursday, November 8, 2001, at 02:49 PM, Andrew Cagney wrote:
>> 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
>
>
>
--
Jim Ingham jingham@apple.com
Developer Tools - gdb
Apple Computer