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


> 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



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