changeset e8a1f956d76c in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=e8a1f956d76c
description:
        ISA: Use the "Stack" traceflag for DPRINTFs about the initial stack 
frame.

diffstat:

2 files changed, 22 insertions(+), 22 deletions(-)
src/arch/sparc/process.cc |   24 ++++++++++++------------
src/arch/x86/process.cc   |   20 ++++++++++----------

diffs (64 lines):

diff -r ba57d8bb692f -r e8a1f956d76c src/arch/sparc/process.cc
--- a/src/arch/sparc/process.cc Wed Feb 25 10:21:46 2009 -0800
+++ b/src/arch/sparc/process.cc Wed Feb 25 10:21:52 2009 -0800
@@ -338,18 +338,18 @@
     IntType window_save_base = argc_base - window_save_size;
 #endif
 
-    DPRINTF(Sparc, "The addresses of items on the initial stack:\n");
-    DPRINTF(Sparc, "%#x - sentry NULL\n", sentry_base);
-    DPRINTF(Sparc, "filename = %s\n", filename);
-    DPRINTF(Sparc, "%#x - file name\n", file_name_base);
-    DPRINTF(Sparc, "%#x - env data\n", env_data_base);
-    DPRINTF(Sparc, "%#x - arg data\n", arg_data_base);
-    DPRINTF(Sparc, "%#x - auxv array\n", auxv_array_base);
-    DPRINTF(Sparc, "%#x - envp array\n", envp_array_base);
-    DPRINTF(Sparc, "%#x - argv array\n", argv_array_base);
-    DPRINTF(Sparc, "%#x - argc \n", argc_base);
-    DPRINTF(Sparc, "%#x - window save\n", window_save_base);
-    DPRINTF(Sparc, "%#x - stack min\n", stack_min);
+    DPRINTF(Stack, "The addresses of items on the initial stack:\n");
+    DPRINTF(Stack, "%#x - sentry NULL\n", sentry_base);
+    DPRINTF(Stack, "filename = %s\n", filename);
+    DPRINTF(Stack, "%#x - file name\n", file_name_base);
+    DPRINTF(Stack, "%#x - env data\n", env_data_base);
+    DPRINTF(Stack, "%#x - arg data\n", arg_data_base);
+    DPRINTF(Stack, "%#x - auxv array\n", auxv_array_base);
+    DPRINTF(Stack, "%#x - envp array\n", envp_array_base);
+    DPRINTF(Stack, "%#x - argv array\n", argv_array_base);
+    DPRINTF(Stack, "%#x - argc \n", argc_base);
+    DPRINTF(Stack, "%#x - window save\n", window_save_base);
+    DPRINTF(Stack, "%#x - stack min\n", stack_min);
 
     assert(window_save_base == stack_min);
 
diff -r ba57d8bb692f -r e8a1f956d76c src/arch/x86/process.cc
--- a/src/arch/x86/process.cc   Wed Feb 25 10:21:46 2009 -0800
+++ b/src/arch/x86/process.cc   Wed Feb 25 10:21:52 2009 -0800
@@ -406,16 +406,16 @@
     Addr argv_array_base = envp_array_base - argv_array_size;
     Addr argc_base = argv_array_base - argc_size;
 
-    DPRINTF(X86, "The addresses of items on the initial stack:\n");
-    DPRINTF(X86, "0x%x - file name\n", file_name_base);
-    DPRINTF(X86, "0x%x - env data\n", env_data_base);
-    DPRINTF(X86, "0x%x - arg data\n", arg_data_base);
-    DPRINTF(X86, "0x%x - aux data\n", aux_data_base);
-    DPRINTF(X86, "0x%x - auxv array\n", auxv_array_base);
-    DPRINTF(X86, "0x%x - envp array\n", envp_array_base);
-    DPRINTF(X86, "0x%x - argv array\n", argv_array_base);
-    DPRINTF(X86, "0x%x - argc \n", argc_base);
-    DPRINTF(X86, "0x%x - stack min\n", stack_min);
+    DPRINTF(Stack, "The addresses of items on the initial stack:\n");
+    DPRINTF(Stack, "0x%x - file name\n", file_name_base);
+    DPRINTF(Stack, "0x%x - env data\n", env_data_base);
+    DPRINTF(Stack, "0x%x - arg data\n", arg_data_base);
+    DPRINTF(Stack, "0x%x - aux data\n", aux_data_base);
+    DPRINTF(Stack, "0x%x - auxv array\n", auxv_array_base);
+    DPRINTF(Stack, "0x%x - envp array\n", envp_array_base);
+    DPRINTF(Stack, "0x%x - argv array\n", argv_array_base);
+    DPRINTF(Stack, "0x%x - argc \n", argc_base);
+    DPRINTF(Stack, "0x%x - stack min\n", stack_min);
 
     // write contents to stack
 
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to