Re: [gem5-dev] Single Header File for Debug Flags

2011-06-09 Thread nathan binkert
Well, I guess the recompilation tradeoff is worth the temporary annoyance of adding the specific debug flag header file everywhere. I'm also hoping that the new changes will allow us to eventually make compound flags of compound flags. The changes are already in the tree (and have been for a

[gem5-dev] Single Header File for Debug Flags

2011-06-08 Thread Korey Sewell
What do people (mostly Nate) think about having a single header file for all debug flags? Instead of #include debug/MyFlag.hh for every flag you want in a DPRINTF, you could say #include debug/debugflags.hh and that would cover all the debug flags available for DPRINTF. Would that (the old way?)

Re: [gem5-dev] Single Header File for Debug Flags

2011-06-08 Thread nathan binkert
What do people (mostly Nate) think about having a single header file for all debug flags? Instead of #include debug/MyFlag.hh for every flag you want in a DPRINTF, you could say #include debug/debugflags.hh and that would cover all the debug flags available for DPRINTF. Would that (the old

Re: [gem5-dev] Single Header File for Debug Flags

2011-06-08 Thread nathan binkert
Oh, and I forgot. Compound flags generate a header file as well. debug/O3CPUAll.hh for example would have all of the flags that O3CPUAll covers On Wed, Jun 8, 2011 at 9:40 PM, nathan binkert n...@binkert.org wrote: What do people (mostly Nate) think about having a single header file for all

Re: [gem5-dev] Single Header File for Debug Flags

2011-06-08 Thread Korey Sewell
Well, I guess the recompilation tradeoff is worth the temporary annoyance of adding the specific debug flag header file everywhere. I'm also hoping that the new changes will allow us to eventually make compound flags of compound flags. On Thu, Jun 9, 2011 at 12:42 AM, nathan binkert