This is the mail archive of the gdb-patches@sourceware.org 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: consolidate DWARF strings into libiberty


> Finally, there is already stuff in libiberty not related to
> portability.  E.g., hashtab or the demangler.

Yeah, I know, hence my "Should I give up that premise?"

> I guess I can just put the whole DW_TAG_ prefix in there.  That
> isn't a big deal.  Or if you have some other suggestion, I can
> implement it.

If the macros always prepend something to it, it should be safe
enough, despite technically violating the spirit of the rule.  I have
no other suggestions.

But given you've already had the issue with "and", you're already
seeing problems anyway, so maybe that's a sign that it's not actually
"safe enough" ?


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