mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-28 02:04:15 +01:00
Issue 166 - reviewer Waylonis
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@164 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
436801fa23
commit
8deb7b799f
@ -276,11 +276,8 @@ static const int kTextSection = 1;
|
||||
|
||||
int line = list->n_desc;
|
||||
|
||||
// We only care about line number information in __TEXT __text
|
||||
// __TEXT __text section
|
||||
uint32_t mainSection = [[sectionNumbers_ objectForKey:@"__TEXT__text" ] unsignedLongValue];
|
||||
if(list->n_sect != mainSection) {
|
||||
line = 0;
|
||||
}
|
||||
|
||||
// Extract debugging information:
|
||||
// Doc: http://developer.apple.com/documentation/DeveloperTools/gdb/stabs/stabs_toc.html
|
||||
|
Loading…
Reference in New Issue
Block a user