This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: patch for opcodes/cgen-dis.in


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]