This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Re: patch for opcodes/cgen-dis.in
- To: mrg at cygnus dot com
- Subject: Re: patch for opcodes/cgen-dis.in
- From: Nick Clifton <nickc at redhat dot com>
- Date: Fri, 13 Oct 2000 09:55:34 -0700
- CC: binutils at sources dot redhat dot com, cgen at sources dot redhat dot com
Hi Matt,
: mrg wrote:
: > i'd like to propose this patch for the generated cgen disassembler. it
: > allows one to disable the printing of macro (alias) instructions, forcing
: > the "real" instruction name to be displayed. [...]
If you had gone ahead with this patch, it would also have needed some
documentation, so that the macro could be found and used by future
programmers.
: From: "Frank Ch. Eigler" <fche@redhat.com>
:
: This sounds like it would be better as a run-time setting rather
: than a build-time one. Maybe there are some disassembler
: configuration flags you could steal to toggle this behavior on and
: off?
The disassembler currently allows arbitrary, target-specific flags on
the command line, prefixed by -m (or --disassembler-options). You
could use these. Alternatively if you want a permanent run-time
toggle, then an environment variable might be the way to go.
Cheers
Nick