From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2954 invoked by alias); 1 Feb 2002 19:00:00 -0000 Mailing-List: contact cgen-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cgen-owner@sources.redhat.com Received: (qmail 2580 invoked from network); 1 Feb 2002 18:59:45 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 1 Feb 2002 18:59:45 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 91C853E02; Fri, 1 Feb 2002 13:59:37 -0500 (EST) Message-ID: <3C5AE598.8070405@cygnus.com> Date: Fri, 01 Feb 2002 11:00:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.7) Gecko/20020103 X-Accept-Language: en-us MIME-Version: 1.0 To: "Frank Ch. Eigler" Cc: Andrew Cagney , binutils@sources.redhat.com, cgen@sources.redhat.com Subject: Re: include/dis-asm.h patch for cgen disassemblers References: <20020131124350.C19966@redhat.com> <15449.42904.232177.265525@casey.transmeta.com> <20020131162132.I19966@redhat.com> <15449.47582.575411.945069@casey.transmeta.com> <20020201131309.C2190@redhat.com> <3C5ADE20.10203@cygnus.com> <20020201133550.E2190@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-q1/txt/msg00040.txt.bz2 > Hi - > > cagney wrote: > > >> [...] >> I would put it the other way round. Users use disassembler_options to >> principaly do select assembly syntax and the like. They override the >> default mode. > > > Have you looked at the opcodes/ code? Most of the disassembler_option > substrings enable and disable groups of opcodes (instruction sets) for > decoding. That's deeper than assembly syntax. How an end-user performs > this picking, and why she should have to pick manually at all, are > separate issues. GDB is only going to be changed to support a ``set disassembler-options '' command. To know GDB needs this change suggests someone read the source code. Andrew