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". Thanks again for your help. Robert. From: Robert PINSKER Sent: 03 October 2012 10:54 To: 'nathanael.premill...@irisa.fr' Cc: gem5-users@gem5.org Subject: Re: [gem5-users] error: ... is not a member of Debug Thanks Nathaniel. You were right that I hadn't put in the #include. However, I now find that (although I do have the DebugFlag directive in the SConscript file) it still isn't generating the debug/Tube.hh (or debug/tube.hh) file. I should point out that tube.cc and tube.hh are kept in src/dev/arm, because that seemed more logical. Best regards Robert.
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users