Go to the documentation of this file.
43 #include <sys/types.h>
68 kill(getpid(), SIGTRAP);
70 cprintf(
"debug::breakpoint suppressed, compiled with NDEBUG\n");
97 : _name(
name), _desc(desc)
102 panic_if(!result.second,
"Flag %s already defined!",
name);
177 using namespace debug;
178 FlagsMap::iterator
i =
allFlags().begin();
179 FlagsMap::iterator end =
allFlags().end();
180 for (;
i != end; ++
i) {
181 SimpleFlag *
f =
dynamic_cast<SimpleFlag *
>(
i->second);
182 if (
f &&
f->tracing())
static void globalDisable()
void cprintf(const char *format, const Args &...args)
Flag(const char *name, const char *desc)
static void globalEnable()
std::vector< Flag * > _kids
void clearDebugFlag(const char *string)
void ccprintf(cp::Print &print)
void dumpDebugFlags(std::ostream &os)
std::map< std::string, Flag * > FlagsMap
void setDebugFlag(const char *string)
static bool _globalEnable
Flag * findFlag(const std::string &name)
GEM5_DEPRECATED_NAMESPACE(GuestABI, guest_abi)
const std::string & name()
#define panic_if(cond,...)
Conditional panic macro that checks the supplied condition and only panics if the condition is true a...
bool changeFlag(const char *s, bool value)
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
Generated on Tue Sep 21 2021 12:24:56 for gem5 by doxygen 1.8.17