mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-07 23:18:14 +01:00
Issue 181: Add version info for Mac OS X modules. Found by iterating over load commands until I found LC_ID_DYLIB. Also modified crash_report to generate version number. Also added suspend/resume capability to exception handler, necessary because exception handling can behave strangely across fork() calls. Also added fix for filtering out functions with no line number information, and for filtering out some multiple inheritance glue the compiler generates.
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@291 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
c5f46b2f4b
commit
32441cc060
7 changed files with 173 additions and 95 deletions
|
|
@ -99,6 +99,12 @@ static void PrintStack(const CallStack *stack, const string &cpu) {
|
|||
int maxStr = 20;
|
||||
buffer[maxStr] = 0;
|
||||
printf("%-*s", maxStr, buffer);
|
||||
|
||||
strcpy(buffer, module->version().c_str());
|
||||
buffer[maxStr] = 0;
|
||||
|
||||
printf("%-*s",maxStr, buffer);
|
||||
|
||||
u_int64_t instruction = frame->instruction;
|
||||
|
||||
// PPC only: Adjust the instruction to match that of Crash reporter. The
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue