RFA: expand macros in C expressions
Jim Blandy
jimb@redhat.com
Fri May 17 10:58:00 GMT 2002
I've committed this patch.
Jim Blandy <jimb@redhat.com> writes:
> The last code patch! Doc and test patches on the way.
>
> This one is the real mess. A twistly little maze of global variables.
> Swapping lexptr values back and forth. Your stomach will churn.
>
> I'd love to see a better solution, but before you suggest an
> alternative, please take some time to read the code (or try it out!)
> and make sure it works. GDB seems to have a lot of expectations about
> how lexptr behaves that make the simple solutions unusable. For
> example, I don't think one can use the nice simple macro_expand
> function. Hopefully I've missed something.
More information about the Gdb-patches
mailing list