On 03.10.2012 10:12, Nilay Vaish wrote:
> On Wed, 3 Oct 2012, Robert PINSKER wrote: > >> Ah. I figured it out. For the benefit of anyone else reading this: If I use the directive DebugFlag('Tube') it doesn't generate anything because my source file is tube.hh not Tube.hh. So I have to use DebugFlag('tube'). This means that the flag name I use in the DPRINTF statement must also be "tube" not "Tube". > > I think you are confusing two different things. As per my understanding, > DebugFlag('tube') will not make SCons look for a file tube.hh. SCons will > generate the file "debug/tube.hh" which needs to included in the source > file that uses the debug flag tube.hh. It really should not matter whether > you name the file Tube.hh or tube.hh. > > -- > Nilay > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users Nilay is correct. Also note that the file debug/Tube.hh will not be generated unless it is included somewhere. Thanks, Ali
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users