From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11863 invoked by alias); 6 May 2005 16:35:44 -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 11198 invoked from network); 6 May 2005 16:35:11 -0000 Received: from unknown (HELO rproxy.gmail.com) (64.233.170.199) by sourceware.org with SMTP; 6 May 2005 16:35:11 -0000 Received: by rproxy.gmail.com with SMTP id z35so820400rne for ; Fri, 06 May 2005 09:35:10 -0700 (PDT) Received: by 10.11.94.35 with SMTP id r35mr39963cwb; Fri, 06 May 2005 09:35:10 -0700 (PDT) Received: by 10.11.99.70 with HTTP; Fri, 6 May 2005 09:35:10 -0700 (PDT) Message-ID: <7f45d939050506093578e17a4b@mail.gmail.com> Date: Fri, 06 May 2005 16:35:00 -0000 From: Shaun Jackman Reply-To: Shaun Jackman To: gdb@sources.redhat.com Subject: Re: Disassembling ARM and Thumb code In-Reply-To: <20050506040755.GA7038@nevyn.them.org> 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> X-SW-Source: 2005-05/txt/msg00075.txt.bz2 On 5/5/05, Daniel Jacobowitz wrote: > > Hehe. I agree, that's probably not the best plan. However, for the > > unique case of 'x/i $pc' it does make a certain amount of sense to use > > the CPSR as a hint. I'm not sure if it's worth the special case > > though. An explicit switch to the x/i and disas commands to specify > > ARM or Thumb dissection is very much a good idea though. >=20 > Yes, probably; if you have a good idea for the syntax to use, then > maybe we can add it. I don't much like the idea of target-specific > modifiers. I like the look of this: x/i for intelligent x/iw for ARM x/ih for Thumb Another option is... set disassembly-flavor arm set disassembly-flavor thumb Cheers, Shaun