aboutsummaryrefslogtreecommitdiff
path: root/src/common/mac
diff options
context:
space:
mode:
authorladderbreaker <ladderbreaker@4c0a9323-5329-0410-9bdc-e9ce6186880e>2007-05-09 01:32:45 +0000
committerladderbreaker <ladderbreaker@4c0a9323-5329-0410-9bdc-e9ce6186880e>2007-05-09 01:32:45 +0000
commit8deb7b799f59cdacbdadee7fbf766844da358380 (patch)
tree13517859d16153be4ae5f9fb4597b4805a39bb58 /src/common/mac
parentStacks (still) truncated on win32 (#165). Patch by Benjamin Smedberg. r=me (diff)
downloadbreakpad-8deb7b799f59cdacbdadee7fbf766844da358380.tar.xz
Issue 166 - reviewer Waylonis
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@164 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common/mac')
-rw-r--r--src/common/mac/dump_syms.mm5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/common/mac/dump_syms.mm b/src/common/mac/dump_syms.mm
index 4feb7880..7b5e8e63 100644
--- a/src/common/mac/dump_syms.mm
+++ b/src/common/mac/dump_syms.mm
@@ -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