This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: include/dis-asm.h patch for cgen disassemblers
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: "Frank Ch. Eigler" <fche at redhat dot com>
- Cc: Andrew Cagney <cagney at redhat dot com>, binutils at sources dot redhat dot com,cgen at sources dot redhat dot com
- Date: Fri, 01 Feb 2002 13:59:36 -0500
- 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>
> 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
<list>'' command. To know GDB needs this change suggests someone read
the source code.
Andrew