http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061
--- Comment #12 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-10-25 13:33:33 UTC --- The diff between the preprocessed source of backtrace.c on gcc 4.0.1 and 4.2.1 is... --- backtrace.i 2012-10-25 09:31:46.000000000 -0400+++ backtrace.i.gcc-4.2 2012-10-25 09:30:09.000000000 -0400 @@ -1,16 +1,16 @@ # 1 "../../gcc-4.8-20121024/libbacktrace/backtrace.c" # 1 "/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/libbacktrace//" # 1 "<built-in>" -# 1 "<command line>" +# 1 "<command-line>" # 1 "../../gcc-4.8-20121024/libbacktrace/backtrace.c" # 33 "../../gcc-4.8-20121024/libbacktrace/backtrace.c" # 1 "./config.h" 1 # 34 "../../gcc-4.8-20121024/libbacktrace/backtrace.c" 2 -# 1 "/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/include/unwind.h" 1 3 4 -# 35 "/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/include/unwind.h" 3 4 +# 1 "/usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/unwind.h" 1 3 4 +# 35 "/usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/unwind.h" 3 4 #pragma GCC visibility push(default) -# 46 "/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/include/unwind.h" 3 4 +# 46 "/usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/unwind.h" 3 4 typedef unsigned _Unwind_Word __attribute__((__mode__(__word__))); typedef signed _Unwind_Sword __attribute__((__mode__(__word__))); @@ -40,7 +40,7 @@ _URC_INSTALL_CONTEXT = 7, _URC_CONTINUE_UNWIND = 8 } _Unwind_Reason_Code; -# 83 "/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/include/unwind.h" 3 4 +# 83 "/usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/unwind.h" 3 4 struct _Unwind_Exception; typedef void (*_Unwind_Exception_Cleanup_Fn) (_Unwind_Reason_Code, @@ -62,7 +62,7 @@ typedef int _Unwind_Action; -# 115 "/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/include/unwind.h" 3 4 +# 115 "/usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/unwind.h" 3 4 struct _Unwind_Context; @@ -106,6 +106,7 @@ extern void _Unwind_SetGR (struct _Unwind_Context *, int, _Unwind_Word); extern _Unwind_Ptr _Unwind_GetIP (struct _Unwind_Context *); +extern _Unwind_Ptr _Unwind_GetIPInfo (struct _Unwind_Context *, int *); extern void _Unwind_SetIP (struct _Unwind_Context *, _Unwind_Ptr); @@ -114,7 +115,7 @@ extern void *_Unwind_GetLanguageSpecificData (struct _Unwind_Context *); extern _Unwind_Ptr _Unwind_GetRegionStart (struct _Unwind_Context *); -# 182 "/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/include/unwind.h" 3 4 +# 183 "/usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/unwind.h" 3 4 typedef _Unwind_Reason_Code (*_Unwind_Personality_Fn) (int, _Unwind_Action, _Unwind_Exception_Class, struct _Unwind_Exception *, struct _Unwind_Context *); @@ -132,7 +133,7 @@ (struct _Unwind_Exception *, _Unwind_Stop_Fn, void *); extern void _Unwind_SjLj_Resume (struct _Unwind_Exception *); extern _Unwind_Reason_Code _Unwind_SjLj_Resume_or_Rethrow (struct _Unwind_Exception *); -# 224 "/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/include/unwind.h" 3 4 +# 225 "/usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/unwind.h" 3 4 extern _Unwind_Ptr _Unwind_GetDataRelBase (struct _Unwind_Context *); extern _Unwind_Ptr _Unwind_GetTextRelBase (struct _Unwind_Context *); @@ -150,12 +151,12 @@ # 36 "../../gcc-4.8-20121024/libbacktrace/backtrace.c" 2 # 1 "../../gcc-4.8-20121024/libbacktrace/backtrace.h" 1 # 36 "../../gcc-4.8-20121024/libbacktrace/backtrace.h" -# 1 "/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/include/stddef.h" 1 3 4 -# 152 "/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/include/stddef.h" 3 4 +# 1 "/usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/stddef.h" 1 3 4 +# 152 "/usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/stddef.h" 3 4 typedef int ptrdiff_t; -# 214 "/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/include/stddef.h" 3 4 +# 214 "/usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/stddef.h" 3 4 typedef long unsigned int size_t; -# 326 "/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/include/stddef.h" 3 4 +# 326 "/usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/stddef.h" 3 4 typedef int wchar_t; # 37 "../../gcc-4.8-20121024/libbacktrace/backtrace.h" 2 # 1 "/usr/include/stdio.h" 1 3 4 @@ -505,8 +506,8 @@ } # 38 "../../gcc-4.8-20121024/libbacktrace/backtrace.h" 2 # 47 "../../gcc-4.8-20121024/libbacktrace/backtrace.h" -# 1 "/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/include/stdint.h" 1 3 4 -# 20 "/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/include/stdint.h" 3 4 +# 1 "/usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/stdint.h" 1 3 4 +# 20 "/usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/stdint.h" 3 4 typedef signed char int8_t; @@ -585,7 +586,7 @@ typedef long long int intmax_t; -# 106 "/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/include/stdint.h" 3 4 +# 106 "/usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/stdint.h" 3 4 typedef long long unsigned int uintmax_t; # 48 "../../gcc-4.8-20121024/libbacktrace/backtrace.h" 2 # 64 "../../gcc-4.8-20121024/libbacktrace/backtrace.h"