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/sim | |
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/sim')
-rw-r--r-- | src/sim/eventq.cc | 1 | ||||
-rw-r--r-- | src/sim/eventq.hh | 1 | ||||
-rw-r--r-- | src/sim/faults.cc | 1 | ||||
-rw-r--r-- | src/sim/pseudo_inst.cc | 3 | ||||
-rw-r--r-- | src/sim/root.cc | 1 | ||||
-rw-r--r-- | src/sim/sim_object.cc | 1 | ||||
-rw-r--r-- | src/sim/syscall_emul.cc | 1 | ||||
-rw-r--r-- | src/sim/syscall_emul.hh | 1 | ||||
-rw-r--r-- | src/sim/system.cc | 1 |
9 files changed, 11 insertions, 0 deletions
diff --git a/src/sim/eventq.cc b/src/sim/eventq.cc index 71036fe7e..78524fe51 100644 --- a/src/sim/eventq.cc +++ b/src/sim/eventq.cc @@ -40,6 +40,7 @@ #include "base/misc.hh" #include "base/trace.hh" #include "cpu/smt.hh" +#include "debug/Config.hh" #include "sim/core.hh" #include "sim/eventq.hh" diff --git a/src/sim/eventq.hh b/src/sim/eventq.hh index 8fbd1b2b1..fcfa119c4 100644 --- a/src/sim/eventq.hh +++ b/src/sim/eventq.hh @@ -47,6 +47,7 @@ #include "base/misc.hh" #include "base/trace.hh" #include "base/types.hh" +#include "debug/Event.hh" #include "sim/serialize.hh" class EventQueue; // forward declaration diff --git a/src/sim/faults.cc b/src/sim/faults.cc index adf6b2466..8e9b8e094 100644 --- a/src/sim/faults.cc +++ b/src/sim/faults.cc @@ -33,6 +33,7 @@ #include "base/misc.hh" #include "cpu/base.hh" #include "cpu/thread_context.hh" +#include "debug/Fault.hh" #include "mem/page_table.hh" #include "sim/faults.hh" #include "sim/process.hh" diff --git a/src/sim/pseudo_inst.cc b/src/sim/pseudo_inst.cc index 3b78cc1ee..eba7273c3 100644 --- a/src/sim/pseudo_inst.cc +++ b/src/sim/pseudo_inst.cc @@ -54,6 +54,9 @@ #include "cpu/base.hh" #include "cpu/quiesce_event.hh" #include "cpu/thread_context.hh" +#include "debug/Loader.hh" +#include "debug/Quiesce.hh" +#include "debug/WorkItems.hh" #include "params/BaseCPU.hh" #include "sim/pseudo_inst.hh" #include "sim/serialize.hh" diff --git a/src/sim/root.cc b/src/sim/root.cc index d51fcbda6..1102e6a3a 100644 --- a/src/sim/root.cc +++ b/src/sim/root.cc @@ -32,6 +32,7 @@ */ #include "base/misc.hh" +#include "debug/TimeSync.hh" #include "sim/root.hh" Root *Root::_root = NULL; diff --git a/src/sim/sim_object.cc b/src/sim/sim_object.cc index 7a7b83b25..8919f3e72 100644 --- a/src/sim/sim_object.cc +++ b/src/sim/sim_object.cc @@ -38,6 +38,7 @@ #include "base/misc.hh" #include "base/trace.hh" #include "base/types.hh" +#include "debug/Config.hh" #include "sim/sim_object.hh" #include "sim/stats.hh" diff --git a/src/sim/syscall_emul.cc b/src/sim/syscall_emul.cc index 76fa8a239..6873d4aa4 100644 --- a/src/sim/syscall_emul.cc +++ b/src/sim/syscall_emul.cc @@ -42,6 +42,7 @@ #include "config/the_isa.hh" #include "cpu/base.hh" #include "cpu/thread_context.hh" +#include "debug/SyscallVerbose.hh" #include "mem/page_table.hh" #include "sim/process.hh" #include "sim/sim_exit.hh" diff --git a/src/sim/syscall_emul.hh b/src/sim/syscall_emul.hh index 06fadf516..e685a0f30 100644 --- a/src/sim/syscall_emul.hh +++ b/src/sim/syscall_emul.hh @@ -60,6 +60,7 @@ #include "config/the_isa.hh" #include "cpu/base.hh" #include "cpu/thread_context.hh" +#include "debug/SyscallVerbose.hh" #include "mem/page_table.hh" #include "mem/translating_port.hh" #include "sim/byteswap.hh" diff --git a/src/sim/system.cc b/src/sim/system.cc index e710bc5e8..bb8eccf14 100644 --- a/src/sim/system.cc +++ b/src/sim/system.cc @@ -42,6 +42,7 @@ #include "config/full_system.hh" #include "config/the_isa.hh" #include "cpu/thread_context.hh" +#include "debug/Loader.hh" #include "mem/mem_object.hh" #include "mem/physical.hh" #include "sim/byteswap.hh" |