diff options
Diffstat (limited to 'contrib/gcc/unwind-compat.c')
-rw-r--r-- | contrib/gcc/unwind-compat.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/contrib/gcc/unwind-compat.c b/contrib/gcc/unwind-compat.c index 26f45ac8e576e..fa40ab27cba7b 100644 --- a/contrib/gcc/unwind-compat.c +++ b/contrib/gcc/unwind-compat.c @@ -1,5 +1,5 @@ /* Backward compatibility unwind routines. - Copyright (C) 2004 + Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc. This file is part of GCC. @@ -25,10 +25,12 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING. If not, write to the Free - Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. */ #if defined (USE_GAS_SYMVER) && defined (USE_LIBUNWIND_EXCEPTIONS) +#include "tconfig.h" +#include "tsystem.h" #include "unwind.h" #include "unwind-dw2-fde.h" #include "unwind-compat.h" @@ -134,6 +136,13 @@ _Unwind_GetIP (struct _Unwind_Context *context) } symver (_Unwind_GetIP, GCC_3.0); +_Unwind_Ptr +_Unwind_GetIPInfo (struct _Unwind_Context *context, int *ip_before_insn) +{ + *ip_before_insn = 0; + return __libunwind_Unwind_GetIP (context); +} + extern void *__libunwind_Unwind_GetLanguageSpecificData (struct _Unwind_Context *); |