trace.cc (4212:0d50e6c98d13) trace.cc (7811:a8fc35183c10)
1/*
2 * Copyright (c) 2001-2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 174 unchanged lines hidden (view full) ---

183{
184 using namespace Trace;
185 for (int i = 0; i < numFlagStrings; ++i) {
186 if (flags[i])
187 cprintf("%s\n", flagStrings[i]);
188 }
189}
190
1/*
2 * Copyright (c) 2001-2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 174 unchanged lines hidden (view full) ---

183{
184 using namespace Trace;
185 for (int i = 0; i < numFlagStrings; ++i) {
186 if (flags[i])
187 cprintf("%s\n", flagStrings[i]);
188 }
189}
190
191/* namespace Trace */ }
191} // namespace Trace
192
193
194// add a set of functions that can easily be invoked from gdb
195void
196setTraceFlag(const char *string)
197{
198 Trace::changeFlag(string, true);
199}

--- 12 unchanged lines hidden ---
192
193
194// add a set of functions that can easily be invoked from gdb
195void
196setTraceFlag(const char *string)
197{
198 Trace::changeFlag(string, true);
199}

--- 12 unchanged lines hidden ---