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]
Other format: [Raw text]

Re: RFA: cleanup INIT_DISASSEMBLE_INFO macro


Andrew Cagney <ac131313@redhat.com> writes:


The attached replaces the body of the INIT_DISASSEMBLE_INFO macro with
a function (init_disassemble_info).  As for
INIT_DISASSEMBLE_INFO_NO_ARCH, it deletes it (For reference, I've also
attached a patch expunging the macro from GDB).


If we're replacing the macro with a function, I think we might as well
eliminate INIT_DISASSEMBLE_INFO entirely, and just have users call
init_disassemble_info().

It depends on how concerned BINUTILS are with backward compatibility. As I wrote:


Should binutils/objdump be updated and INIT_DISASSEMBLE_INFO also deleted.

Should both macro's be retained for "backward compatibility"?

enjoy, Andrew



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