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 <
[email protected]> 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 -- [email protected]
> To unsubscribe send an email to [email protected]
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
_______________________________________________
gem5-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to