changeset faa9dfc465ef in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=faa9dfc465ef
description:
        power: Remove unused private members to fix compile-time warning

        Certain versions of clang complain about unused private members if
        they are not used. This changeset removes such members from the
        POWER-specific ProcessInfo struct to silence the warning.

diffstat:

 src/arch/power/stacktrace.cc |  1 -
 src/arch/power/stacktrace.hh |  9 ---------
 2 files changed, 0 insertions(+), 10 deletions(-)

diffs (30 lines):

diff -r 362875aec1ba -r faa9dfc465ef src/arch/power/stacktrace.cc
--- a/src/arch/power/stacktrace.cc      Wed Aug 13 06:57:28 2014 -0400
+++ b/src/arch/power/stacktrace.cc      Wed Aug 13 06:57:29 2014 -0400
@@ -38,7 +38,6 @@
 namespace PowerISA {
 
 ProcessInfo::ProcessInfo(ThreadContext *_tc)
-    : tc(_tc)
 {
     panic("ProcessInfo constructor not implemented.\n");
 }
diff -r 362875aec1ba -r faa9dfc465ef src/arch/power/stacktrace.hh
--- a/src/arch/power/stacktrace.hh      Wed Aug 13 06:57:28 2014 -0400
+++ b/src/arch/power/stacktrace.hh      Wed Aug 13 06:57:29 2014 -0400
@@ -47,15 +47,6 @@
 
 class ProcessInfo
 {
-  private:
-    ThreadContext *tc;
-
-    int thread_info_size;
-    int task_struct_size;
-    int task_off;
-    int pid_off;
-    int name_off;
-
   public:
     ProcessInfo(ThreadContext *_tc);
 
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to