From: Julian Seward Date: Wed, 18 Jul 2012 10:47:38 +0000 (+0000) Subject: Un-break the build on MacOS, following r12742 (initial support for DWZ X-Git-Tag: svn/VALGRIND_3_8_0~114 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72f43a132908c6bc5a7daa0dcba8e64a515a0759;p=thirdparty%2Fvalgrind.git Un-break the build on MacOS, following r12742 (initial support for DWZ compressed debuginfo). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12754 --- diff --git a/coregrind/m_debuginfo/readmacho.c b/coregrind/m_debuginfo/readmacho.c index 91d06d832e..748c498581 100644 --- a/coregrind/m_debuginfo/readmacho.c +++ b/coregrind/m_debuginfo/readmacho.c @@ -1087,7 +1087,8 @@ Bool ML_(read_macho_debug_info)( struct _DebugInfo* di ) NULL, 0, debug_abbv_img, debug_abbv_sz, debug_line_img, debug_line_sz, - debug_str_img, debug_str_sz ); + debug_str_img, debug_str_sz, + NULL, 0 /* ALT .debug_str */ ); /* The new reader: read the DIEs in .debug_info to acquire information on variable types and locations. But only if @@ -1102,7 +1103,11 @@ Bool ML_(read_macho_debug_info)( struct _DebugInfo* di ) debug_line_img, debug_line_sz, debug_str_img, debug_str_sz, debug_ranges_img, debug_ranges_sz, - debug_loc_img, debug_loc_sz + debug_loc_img, debug_loc_sz, + NULL, 0, /* ALT .debug_info */ + NULL, 0, /* ALT .debug_abbv */ + NULL, 0, /* ALT .debug_line */ + NULL, 0 /* ALT .debug_str */ ); } }