You need to add the header to the file in which it is being used. E.g.,
foo.hh. It will be generated.

On Wed, Mar 14, 2012 at 2:19 PM, Paul Rosenfeld <[email protected]>wrote:

> Hello all,
>
> I'm making some changes in M5 and I was hoping to add my own DPRINTF flag
> to track them through the simulator. I saw that the flags were being
> declared in the SConscript files and it looks like they should be
> generating a corresponding .hh file in /build/*/debug/
>
> So I've gone in and added my debug flag into mem/SConscript:
>
> DebugFlag("foo");
>
> but I'm not seeing the corresponding foo.hh file in build/ARM/debug/ and
> so I get 'foo' is not a member of 'Debug' error when I go to compile my
> code.
>
> Is there some other steps I need to take to get my custom flag working?
>
> Thanks,
> Paul
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
> --
> Thanks,
> Tony
>
>  <http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users>


 <http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to