diff --git a/compiler.h b/compiler.h index 838416b8f..8f692817b 100644 --- a/compiler.h +++ b/compiler.h @@ -19,7 +19,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: compiler.h,v 1.26.2.1 2006/04/01 01:37:24 steve Exp $" +#ident "$Id: compiler.h,v 1.26.2.2 2006/04/23 04:25:45 steve Exp $" #endif # include @@ -85,6 +85,7 @@ extern bool debug_scopes; extern bool debug_eval_tree; extern bool debug_elaborate; extern bool debug_synth; +extern bool debug_cprop; /* Path to a directory useful for finding subcomponents. */ extern const char*basedir; @@ -137,6 +138,9 @@ extern int load_sys_func_table(const char*path); /* * $Log: compiler.h,v $ + * Revision 1.26.2.2 2006/04/23 04:25:45 steve + * Add cprop debugging. + * * Revision 1.26.2.1 2006/04/01 01:37:24 steve * Add synth debug flag * diff --git a/main.cc b/main.cc index aeeedc86a..c3c2b502c 100644 --- a/main.cc +++ b/main.cc @@ -19,7 +19,7 @@ const char COPYRIGHT[] = * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: main.cc,v 1.86.2.1 2006/04/01 01:37:24 steve Exp $" +#ident "$Id: main.cc,v 1.86.2.2 2006/04/23 04:25:45 steve Exp $" #endif # include "config.h" @@ -113,6 +113,7 @@ bool debug_scopes = false; bool debug_eval_tree = false; bool debug_elaborate = false; bool debug_synth = false; +bool debug_cprop = false; /* * Verbose messages enabled. @@ -319,6 +320,9 @@ static void read_iconfig_file(const char*ipath) } else if (strcmp(cp,"synth") == 0) { debug_synth = true; cerr << "debug: Enable synthesis debug" << endl; + } else if (strcmp(cp,"cprop") == 0) { + debug_cprop = true; + cerr << "debug: Enable cprop debug" << endl; } else { } @@ -749,6 +753,9 @@ int main(int argc, char*argv[]) /* * $Log: main.cc,v $ + * Revision 1.86.2.2 2006/04/23 04:25:45 steve + * Add cprop debugging. + * * Revision 1.86.2.1 2006/04/01 01:37:24 steve * Add synth debug flag *