diff options
author | Nathan Binkert <nate@binkert.org> | 2011-04-15 10:44:32 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2011-04-15 10:44:32 -0700 |
commit | eddac53ff60c579eff28134bde84783fe36d6214 (patch) | |
tree | 9095c6b64a6fdabf4e0d00b2c8f2ca40ad495f49 /src/arch/x86/faults.cc | |
parent | f946d7bcdb4d0b4327857d319dd4ecdd1c320d62 (diff) | |
download | gem5-eddac53ff60c579eff28134bde84783fe36d6214.tar.xz |
trace: reimplement the DTRACE function so it doesn't use a vector
At the same time, rename the trace flags to debug flags since they
have broader usage than simply tracing. This means that
--trace-flags is now --debug-flags and --trace-help is now --debug-help
Diffstat (limited to 'src/arch/x86/faults.cc')
-rw-r--r-- | src/arch/x86/faults.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/x86/faults.cc b/src/arch/x86/faults.cc index 7fb677c69..feb88fd76 100644 --- a/src/arch/x86/faults.cc +++ b/src/arch/x86/faults.cc @@ -45,12 +45,14 @@ #include "base/trace.hh" #include "config/full_system.hh" #include "cpu/thread_context.hh" + #if !FULL_SYSTEM #include "arch/x86/isa_traits.hh" #include "mem/page_table.hh" #include "sim/process.hh" #else #include "arch/x86/tlb.hh" +#include "debug/Faults.hh" #endif namespace X86ISA |