Deleted Added
sdiff udiff text old ( 8699:d1a507c6329a ) new ( 9554:406fbcf60223 )
full compact
1/*
2 * Copyright (c) 2003-2005 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;

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

28 * Authors: Nathan Binkert
29 */
30
31#include <sys/types.h>
32#include <unistd.h>
33
34#include <algorithm>
35#include <csignal>
36#include <map>
37#include <vector>
38
39#include "base/cprintf.hh"
40#include "base/debug.hh"
41#include "base/misc.hh"
42
43using namespace std;
44
45namespace Debug {

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

57#else
58 cprintf("Debug::breakpoint suppressed, compiled with NDEBUG\n");
59#endif
60}
61
62//
63// Flags for debugging purposes. Primarily for trace.hh
64//
65typedef std::map<string, Flag *> FlagsMap;
66int allFlagsVersion = 0;
67FlagsMap &
68allFlags()
69{
70 static FlagsMap flags;
71 return flags;
72}
73

--- 112 unchanged lines hidden ---