ISA: Use the "Stack" traceflag for DPRINTFs about the initial stack frame.
This commit is contained in:
parent
9d5b6e377f
commit
ce2e50a64c
2 changed files with 22 additions and 22 deletions
|
@ -338,18 +338,18 @@ SparcLiveProcess::argsInit(int pageSize)
|
|||
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);
|
||||
|
||||
|
|
|
@ -406,16 +406,16 @@ X86LiveProcess::argsInit(int intSize, int pageSize)
|
|||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue