printchecks: better explanation of its purpose. I call it from gdb when I debug ExecutionPaths.

This commit is contained in:
Daniel Marjamäki 2010-05-18 20:58:11 +02:00
parent 1792395654
commit 6815f4e941
1 changed files with 2 additions and 1 deletions

View File

@ -70,7 +70,8 @@ void ExecutionPath::print() const
<< "\n"; << "\n";
} }
#if 0 // I use this function when debugging ExecutionPaths with GDB
#ifdef __GNUC__
static void printchecks(const std::list<ExecutionPath *> &checks) static void printchecks(const std::list<ExecutionPath *> &checks)
{ {
for (std::list<ExecutionPath *>::const_iterator it = checks.begin(); it != checks.end(); ++it) for (std::list<ExecutionPath *>::const_iterator it = checks.begin(); it != checks.end(); ++it)