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: ac131313 at cygnus dot com
- Subject: Re: ``set disassembly-flavour'' vs ``set architecture'' for i386
- From: "Eli Zaretskii" <eliz at is dot elta dot co dot il>
- Date: Sat, 03 Nov 2001 11:01:09 +0200
- CC: gdb at sources dot redhat dot com
- References: <3BE32861.6030601@cygnus.com>
- Reply-to: Eli Zaretskii <eliz at is dot elta dot co dot il>
> Date: Fri, 02 Nov 2001 18:12:33 -0500
> From: Andrew Cagney <ac131313@cygnus.com>
>
> However, if the architecture is changed directly vis:
>
> (gdb) set architecture i386:intel
> The target architecture is assumed to be i386:intel
> (gdb) show architecture
> The target architecture is assumed to be i386:intel
> (gdb) show disassembly-flavour
> The disassembly flavour is "att".
>
> it doesn't affect the disassembly flavour.
>
> Can I assume this is a bug and that the two should be kept in sync, or,
> like x86-64, keeping them in sync isn't important?
I think these two should be orthogonal.