projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8123ce
)
TraceFlags: Fix off-by-one error with number of traceflags.
m5_2.0_beta4
author
Ali Saidi
<saidi@eecs.umich.edu>
Mon, 5 Nov 2007 00:06:45 +0000
(19:06 -0500)
committer
Ali Saidi
<saidi@eecs.umich.edu>
Mon, 5 Nov 2007 00:06:45 +0000
(19:06 -0500)
--HG--
extra : convert_revision :
668299fc0a9083be858fe2f6e8fde512ddac9e32
src/python/generate.py
patch
|
blob
|
history
diff --git
a/src/python/generate.py
b/src/python/generate.py
index e52128de2afd8bab218c7ea301aa0f6dff5186ae..eead6ff5d53c9ece8a092ece5e4fbcc9ff9fa2d9 100644
(file)
--- a/
src/python/generate.py
+++ b/
src/python/generate.py
@@
-418,7
+418,7
@@
const char *Trace::flagStrings[] =
print >>f, '};'
print >>f
- print >>f, 'const int Trace::numFlagStrings = %d;' %
len(allFlags
)
+ print >>f, 'const int Trace::numFlagStrings = %d;' %
(len(allFlags) + 1
)
print >>f
#