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/base/loader | |
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/base/loader')
-rw-r--r-- | src/base/loader/aout_object.cc | 1 | ||||
-rw-r--r-- | src/base/loader/ecoff_object.cc | 1 | ||||
-rw-r--r-- | src/base/loader/elf_object.cc | 1 | ||||
-rw-r--r-- | src/base/loader/raw_object.cc | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/src/base/loader/aout_object.cc b/src/base/loader/aout_object.cc index 31a6a2868..756f03a9e 100644 --- a/src/base/loader/aout_object.cc +++ b/src/base/loader/aout_object.cc @@ -34,6 +34,7 @@ #include "base/loader/exec_aout.h" #include "base/loader/symtab.hh" #include "base/trace.hh" +#include "debug/Loader.hh" using namespace std; diff --git a/src/base/loader/ecoff_object.cc b/src/base/loader/ecoff_object.cc index 2027a2e1e..263085d16 100644 --- a/src/base/loader/ecoff_object.cc +++ b/src/base/loader/ecoff_object.cc @@ -35,6 +35,7 @@ #include "base/misc.hh" #include "base/trace.hh" #include "base/types.hh" +#include "debug/Loader.hh" // Only alpha will be able to load ecoff files for now. // base/types.hh and ecoff_machdep.h must be before the other .h files diff --git a/src/base/loader/elf_object.cc b/src/base/loader/elf_object.cc index 22316c0d6..6fcbd0ae3 100644 --- a/src/base/loader/elf_object.cc +++ b/src/base/loader/elf_object.cc @@ -37,6 +37,7 @@ #include "base/bitfield.hh" #include "base/misc.hh" #include "base/trace.hh" +#include "debug/Loader.hh" #include "sim/byteswap.hh" #include "gelf.h" diff --git a/src/base/loader/raw_object.cc b/src/base/loader/raw_object.cc index d002d9005..eb1e06d3f 100644 --- a/src/base/loader/raw_object.cc +++ b/src/base/loader/raw_object.cc @@ -31,6 +31,7 @@ #include "base/loader/raw_object.hh" #include "base/loader/symtab.hh" #include "base/trace.hh" +#include "debug/Loader.hh" ObjectFile * RawObject::tryFile(const std::string &fname, int fd, size_t len, uint8_t *data) |