From: Benjamin Kosnik Date: Tue, 7 Jan 2003 20:36:11 +0000 (+0000) Subject: re PR libstdc++/9076 (Call Frame Instructions are not handled correctly during unwind... X-Git-Tag: releases/gcc-3.2.2~131 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ed975d7e61071192b337c4a3e8c6db960af65e2;p=thirdparty%2Fgcc.git re PR libstdc++/9076 (Call Frame Instructions are not handled correctly during unwind operation..) 2003-01-07 Benjamin Kosnik Sunil Davasam PR libstdc++/9076 * unwind-dw2.c (execute_cfa_program): DW_CFA_undefined, DW_CFA_same_value, read next and ignore. Co-Authored-By: Sunil Davasam From-SVN: r61012 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2bec1388b801..c9eaded12b9b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2003-01-07 Benjamin Kosnik + Sunil Davasam + + PR libstdc++/9076 + * unwind-dw2.c (execute_cfa_program): DW_CFA_undefined, + DW_CFA_same_value, read next and ignore. + 2003-01-07 Richard Henderson * cfganal.c (flow_call_edges_add): Don't crash on noreturn call. diff --git a/gcc/unwind-dw2.c b/gcc/unwind-dw2.c index d3828e97ad4e..8151d69c25b3 100644 --- a/gcc/unwind-dw2.c +++ b/gcc/unwind-dw2.c @@ -1,5 +1,5 @@ /* DWARF2 exception handling and frame unwind runtime interface routines. - Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 + Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. This file is part of GCC. @@ -769,6 +769,9 @@ execute_cfa_program (const unsigned char *insn_ptr, case DW_CFA_undefined: case DW_CFA_same_value: + insn_ptr = read_uleb128 (insn_ptr, ®); + break; + case DW_CFA_nop: break;