Communicate OS and CPU to SymbolSupplier (#107). r=bryner
Interface change: moved a few fields around in ProcessState; added new
arguments to Stackwalker and SymbolSupplier.
17e4a48ec3
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@101 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
0ec76c7fad
commit
97d392dc4b
21 changed files with 308 additions and 127 deletions
|
@ -227,15 +227,15 @@ static unsigned int CountCallerFrames() {
|
|||
context.ebp = GetEBP();
|
||||
context.esp = GetESP();
|
||||
|
||||
StackwalkerX86 stackwalker = StackwalkerX86(&context, &memory, NULL, NULL,
|
||||
&resolver);
|
||||
StackwalkerX86 stackwalker = StackwalkerX86(NULL, &context, &memory, NULL,
|
||||
NULL, &resolver);
|
||||
#elif defined(__ppc__)
|
||||
MDRawContextPPC context = MDRawContextPPC();
|
||||
context.srr0 = GetPC();
|
||||
context.gpr[1] = GetSP();
|
||||
|
||||
StackwalkerPPC stackwalker = StackwalkerPPC(&context, &memory, NULL, NULL,
|
||||
&resolver);
|
||||
StackwalkerPPC stackwalker = StackwalkerPPC(NULL, &context, &memory, NULL,
|
||||
NULL, &resolver);
|
||||
#endif // __i386__ || __ppc__
|
||||
|
||||
CallStack stack;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue