* sim-config.h (WITH_DEBUG): Provide default value of zero.

This commit is contained in:
David Edelsohn 1997-04-17 12:41:19 +00:00
parent 4ede3a832b
commit 4b364b00cf
2 changed files with 8 additions and 1 deletions

View File

@ -1,6 +1,7 @@
Thu Apr 17 02:25:11 1997 Doug Evans <dje@canuck.cygnus.com>
* sim-options.c, sim-options.h: New files.
* sim-config.h (WITH_DEBUG): Provide default value of zero.
* run.c (main): Check return value of sim_open.

View File

@ -416,7 +416,13 @@ extern int current_floating_point;
/* Debugging:
Control the inclusion of debugging code. */
Control the inclusion of debugging code.
Debugging is only turned on in rare circumstances [say during development]
and is not intended to be turned on otherwise. */
#ifndef WITH_DEBUG
#define WITH_DEBUG 0
#endif
/* Include the tracing code. Disabling this eliminates all tracing
code */