From eddac53ff60c579eff28134bde84783fe36d6214 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Fri, 15 Apr 2011 10:44:32 -0700 Subject: 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 --- src/arch/power/process.cc | 1 + src/arch/power/stacktrace.hh | 1 + src/arch/power/tlb.cc | 2 ++ 3 files changed, 4 insertions(+) (limited to 'src/arch/power') diff --git a/src/arch/power/process.cc b/src/arch/power/process.cc index a34a874bc..d12e3eab6 100644 --- a/src/arch/power/process.cc +++ b/src/arch/power/process.cc @@ -37,6 +37,7 @@ #include "base/loader/object_file.hh" #include "base/misc.hh" #include "cpu/thread_context.hh" +#include "debug/Stack.hh" #include "mem/page_table.hh" #include "mem/translating_port.hh" #include "sim/process_impl.hh" diff --git a/src/arch/power/stacktrace.hh b/src/arch/power/stacktrace.hh index e87203df6..72a66e5bd 100644 --- a/src/arch/power/stacktrace.hh +++ b/src/arch/power/stacktrace.hh @@ -37,6 +37,7 @@ #include "base/trace.hh" #include "cpu/static_inst.hh" +#include "debug/Stack.hh" class ThreadContext; class StackTrace; diff --git a/src/arch/power/tlb.cc b/src/arch/power/tlb.cc index aa47b83c0..8a088032c 100644 --- a/src/arch/power/tlb.cc +++ b/src/arch/power/tlb.cc @@ -46,6 +46,8 @@ #include "base/str.hh" #include "base/trace.hh" #include "cpu/thread_context.hh" +#include "debug/Power.hh" +#include "debug/TLB.hh" #include "mem/page_table.hh" #include "params/PowerTLB.hh" #include "sim/process.hh" -- cgit v1.2.3