My experience was that:
DebugFlag("Tube")
Did not generate a file debug/Tube.hh
Whereas
DebugFlag("tube")
DID generate a file debug/tube.hh.
I am assuming that this is because the name of the corresponding file in the
src tree was tube.hh not Tube.hh.
This is an assumption but I can't think of another reason.
Robert.
-----Original Message-----
From: Nilay Vaish [mailto:[email protected]]
Sent: 03 October 2012 16:13
To: Robert PINSKER
Cc: [email protected]
Subject: Re: [gem5-users] error: ... is not a member of Debug
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
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users