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>
36
37#include "base/cprintf.hh"
38#include "base/debug.hh"
39#include "base/misc.hh"
40
41using namespace std;
42
43namespace Debug {

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

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

--- 112 unchanged lines hidden ---