This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ``set disassembly-flavour'' vs ``set architecture'' for i386


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]