mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2025-09-03 01:31:16 +00: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;
|
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];
|
uint32_t mainSection = [[sectionNumbers_ objectForKey:@"__TEXT__text" ] unsignedLongValue];
|
||||||
if(list->n_sect != mainSection) {
|
|
||||||
line = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Extract debugging information:
|
// Extract debugging information:
|
||||||
// Doc: http://developer.apple.com/documentation/DeveloperTools/gdb/stabs/stabs_toc.html
|
// Doc: http://developer.apple.com/documentation/DeveloperTools/gdb/stabs/stabs_toc.html
|
||||||
|
|
Loading…
Reference in a new issue