From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11572 invoked by alias); 22 May 2003 23:15:54 -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 11564 invoked from network); 22 May 2003 23:15:54 -0000 Received: from unknown (HELO motgate6.mot.com) (144.189.100.106) by sources.redhat.com with SMTP; 22 May 2003 23:15:54 -0000 Received: from il06exr04.mot.com (il06exr04.mot.com [129.188.137.134]) by motgate6.mot.com (Motorola/Motgate6) with ESMTP id h4MNFqgZ025727; Thu, 22 May 2003 16:15:52 -0700 (MST) Received: from motorola.com ([10.82.16.202]) by il06exr04.mot.com (Motorola/il06exr04) with ESMTP id h4MNFoQx013418; Thu, 22 May 2003 18:15:51 -0500 Date: Thu, 22 May 2003 23:15:00 -0000 Subject: Re: disassembly in gdb? Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) Cc: To: Kevin Buettner From: Kumar Gala In-Reply-To: <1030522225139.ZM31668@localhost.localdomain> Message-Id: <53C5577E-8CAB-11D7-B5D0-000393DBC2E8@motorola.com> Content-Transfer-Encoding: 7bit X-SW-Source: 2003-05/txt/msg00305.txt.bz2 Can you be more specific as to where in i386 or mips that disassemble_info is set for those targets? - kumar On Thursday, May 22, 2003, at 05:51 PM, Kevin Buettner wrote: > On May 22, 5:24pm, Kumar Gala wrote: > >> How does gdb know which disassembler options to use for a given >> architecture target? For example on PPC there are various flags to >> enable such things as SPE, AltiVec, ISEL, etc. >> >> Is there anyway in an existing gdb to have the disassembler understand >> a different subset of opcodes for the architecture? > > This is supposed to be handled by the disassembler_options field in > the disassemble_info struct. Unfortunately, I don't see anything > in the public GDB sources which set these options for any of the > PPC cores. (mips and i386 have some code which do this though.) > > Kevin