From ba1f5cc81b31e6c017eb59a525ec7eb4426bcca3 Mon Sep 17 00:00:00 2001 From: "gtm.daemon" Date: Wed, 26 May 2010 21:03:51 +0000 Subject: [Author: dmaclach] Fixes up some more 10.6 issues. R=thomasvl DELTA=16 (11 added, 0 deleted, 5 changed) --- Foundation/GTMStackTrace.m | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Foundation/GTMStackTrace.m') diff --git a/Foundation/GTMStackTrace.m b/Foundation/GTMStackTrace.m index 568b5d7..5e832c2 100644 --- a/Foundation/GTMStackTrace.m +++ b/Foundation/GTMStackTrace.m @@ -144,6 +144,11 @@ static NSUInteger GTMGetStackAddressDescriptorsForAddresses(void *pcs[], currDesc->class_name = NULL; } currDesc->filename = info.dli_fname; + if (!currDesc->symbol) { + currDesc->symbol = "???"; + currDesc->is_class_method = NO; + currDesc->class_name = NULL; + } } GTMFreeClassDescriptions(class_descs, class_desc_count); return count; -- cgit v1.2.3