From cb25b0ce8d1c3b56ea99c8bee41f13c5705a0050 Mon Sep 17 00:00:00 2001 From: Benjamin Kosnik Date: Tue, 7 Jan 2003 20:20:53 +0000 Subject: [PATCH] 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: r61008 --- gcc/ChangeLog | 7 +++++++ gcc/unwind-dw2.c | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8acd3995591..b6028c60da8 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 4d127a89763..6a44865d7c3 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. @@ -784,6 +784,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; -- 2.30.2