patch for opcodes/cgen-dis.in

Nick Clifton nickc@redhat.com
Fri Oct 13 09:55:00 GMT 2000


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



More information about the Binutils mailing list