Hi Majid,

I think you can take a look at the panic_if(...); you can add DPRINTF_IF in
a similar way.

Best,
Jiayi

On Sat, Feb 12, 2022 at 5:41 AM Majid Jalili via gem5-users <
gem5-users@gem5.org> wrote:

> Hi,
>
> Is there any way or trick to make a debug flag conditional? For example,
> --Debug-flags=Cache if pkt->getAddr()==0xABCD
>
> Thanks!
> _______________________________________________
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to