diff options
author | David Edelsohn <dje.gcc@gmail.com> | 1997-04-17 12:41:19 +0000 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 1997-04-17 12:41:19 +0000 |
commit | 4b364b00cfb153d2371dc0b9f74d29dec432dbb6 (patch) | |
tree | 3f59648ba2bf4ef509fa58ddb3502af5dfca4987 | |
parent | 4ede3a832bf3df431b42d153e70921b3bc81eabc (diff) | |
download | gdb-4b364b00cfb153d2371dc0b9f74d29dec432dbb6.zip gdb-4b364b00cfb153d2371dc0b9f74d29dec432dbb6.tar.gz gdb-4b364b00cfb153d2371dc0b9f74d29dec432dbb6.tar.bz2 |
* sim-config.h (WITH_DEBUG): Provide default value of zero.
-rw-r--r-- | sim/common/ChangeLog | 1 | ||||
-rw-r--r-- | sim/common/sim-config.h | 8 |
2 files changed, 8 insertions, 1 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 27e2915..9ebf3e3 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -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. diff --git a/sim/common/sim-config.h b/sim/common/sim-config.h index 1205920..7278b3b 100644 --- a/sim/common/sim-config.h +++ b/sim/common/sim-config.h @@ -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 */ |