aboutsummaryrefslogtreecommitdiff
path: root/gcc/unwind-dw2.c
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@redhat.com>2003-01-07 20:20:53 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2003-01-07 20:20:53 +0000
commitcb25b0ce8d1c3b56ea99c8bee41f13c5705a0050 (patch)
treeee7c8aea21d11c428e39310b07a579e37729d936 /gcc/unwind-dw2.c
parent94c040bd69078d4b4605cba9468cd0f9f6ad85d6 (diff)
downloadgcc-cb25b0ce8d1c3b56ea99c8bee41f13c5705a0050.zip
gcc-cb25b0ce8d1c3b56ea99c8bee41f13c5705a0050.tar.gz
gcc-cb25b0ce8d1c3b56ea99c8bee41f13c5705a0050.tar.bz2
re PR libstdc++/9076 (Call Frame Instructions are not handled correctly during unwind operation..)
2003-01-07 Benjamin Kosnik <bkoz@redhat.com> Sunil Davasam <sunil.k.davasam@intel.com> 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 <sunil.k.davasam@intel.com> From-SVN: r61008
Diffstat (limited to 'gcc/unwind-dw2.c')
-rw-r--r--gcc/unwind-dw2.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/unwind-dw2.c b/gcc/unwind-dw2.c
index 4d127a8..6a44865 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, &reg);
+ break;
+
case DW_CFA_nop:
break;