This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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] Replace SET_NAMESTRING macro by function in hpread.c


In the name of macros-are-evil, as suggested by AndrewC, I replaced
the SET_NAMESTRING macro by a function...

2003-01-10  J. Brobecker  <brobecker@gnat.com>

        * hpread.c (set_namestring): New procedure replacing the
        SET_NAMESTRING macro.
        (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
        by calls to set_namestring.

Ok to apply?
It's obvious.  With or with out the suggested stray paren cleanup.

(Macro's are bad m'kay).

Andrew



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