1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * Copyright (c) 2010 The Hewlett-Packard Development Company
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright
--- 18 unchanged lines hidden (view full) ---
27 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 *
29 * Authors: Nathan Binkert
30 */
31
32#ifndef __BASE_DEBUG_HH__
33#define __BASE_DEBUG_HH__
34
35#include <string>
36#include <vector>
37
38namespace Debug {
39
40void breakpoint();
41
42class Flag
--- 62 unchanged lines hidden (view full) ---
105 addFlag(f10); addFlag(f11); addFlag(f12); addFlag(f13); addFlag(f14);
106 addFlag(f15); addFlag(f16); addFlag(f17); addFlag(f18); addFlag(f19);
107 }
108
109 void enable();
110 void disable();
111};
112
113} // namespace Debug
114
115#endif // __BASE_DEBUG_HH__
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * Copyright (c) 2010 The Hewlett-Packard Development Company
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright
--- 18 unchanged lines hidden (view full) ---
27 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 *
29 * Authors: Nathan Binkert
30 */
31
32#ifndef __BASE_DEBUG_HH__
33#define __BASE_DEBUG_HH__
34
35#include <string>
36#include <vector>
37
38namespace Debug {
39
40void breakpoint();
41
42class Flag
--- 62 unchanged lines hidden (view full) ---
105 addFlag(f10); addFlag(f11); addFlag(f12); addFlag(f13); addFlag(f14);
106 addFlag(f15); addFlag(f16); addFlag(f17); addFlag(f18); addFlag(f19);
107 }
108
109 void enable();
110 void disable();
111};
112
113} // namespace Debug
114
115#endif // __BASE_DEBUG_HH__