point of order: how should I post the macro patch?

Andrew Cagney ac131313@cygnus.com
Fri Apr 5 16:15:00 GMT 2002


> Or, if you'd rather have the patch broken up into more digestible
> pieces that individually have no effect, then I can post the pieces in
> the following order:

> - the macro table module


> - the changes throughout GDB to add the macro table to the existing
>   symbol table structures (but at this point the table is never used)
> - the changes to dwarf2read.c to actually fill in the table


> - the macro expander module


> - the macro commands module, to give you "show macro" and "macro
>   expand",


> - the C evaluator changes

Think about how much has to be backed out of things (mysteriously) go 
wrong.  New independant files, for instance, do no harm and even benefit 
from being exposed to other compilers earlier.

It is a judgment call.

Andrew



More information about the Gdb-patches mailing list