From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27717 invoked by alias); 9 May 2005 16:07:26 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 27224 invoked from network); 9 May 2005 16:07:04 -0000 Received: from unknown (HELO rproxy.gmail.com) (64.233.170.206) by sourceware.org with SMTP; 9 May 2005 16:07:04 -0000 Received: by rproxy.gmail.com with SMTP id y7so910597rne for ; Mon, 09 May 2005 09:07:03 -0700 (PDT) Received: by 10.11.99.40 with SMTP id w40mr147961cwb; Mon, 09 May 2005 09:07:03 -0700 (PDT) Received: by 10.11.99.60 with HTTP; Mon, 9 May 2005 09:07:03 -0700 (PDT) Message-ID: <7f45d939050509090776da6c@mail.gmail.com> Date: Mon, 09 May 2005 16:07:00 -0000 From: Shaun Jackman Reply-To: Shaun Jackman To: gdb@sources.redhat.com Subject: Re: Disassembling ARM and Thumb code In-Reply-To: <1115642877.25452.17.camel@pc960.cambridge.arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <7f45d93905050517053a33f3c9@mail.gmail.com> <20050506015559.GA3922@nevyn.them.org> <7f45d93905050520353a1dc5ed@mail.gmail.com> <20050506040755.GA7038@nevyn.them.org> <7f45d939050506093578e17a4b@mail.gmail.com> <1115642877.25452.17.camel@pc960.cambridge.arm.com> X-SW-Source: 2005-05/txt/msg00109.txt.bz2 On 5/9/05, Richard Earnshaw wrote: > On Fri, 2005-05-06 at 17:35, Shaun Jackman wrote: > > I like the look of this: > > > > x/i for intelligent > > x/iw for ARM > > x/ih for Thumb > > >=20 > Ug. Doesn't really make sense for Thumb-2. Nor does it make sense for > the 'disassemble' command. x/ia for ARM/Thumb-2 and x/it for Thumb then. Even with a 'set ... {arm, thumb}' command, a quick-to-type and quick-override-of-the-default x/i style command is useful. > > Another option is... > > > > set disassembly-flavor arm > > set disassembly-flavor thumb >=20 > less objectionable, provided you avoid 'flavor' which is irritating to > those who use British English spelling. >=20 > I'd go for >=20 > set disassembly-isa {auto|arm|thumb} >=20 > R. I agree entirely, but I'd guess that disassembly-flavor has been around for a while. Should the previous spelling be deprecated? objdump already has a name for this option: set disassembler-options {intel, att, force-thumb, ...} I'd prefer simply `thumb' to `force-thumb', but parallelism between tools is a healthy goal. Cheers, Shaun