]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR libstdc++/9076 (Call Frame Instructions are not handled correctly during unwind...
authorBenjamin Kosnik <bkoz@redhat.com>
Tue, 7 Jan 2003 20:36:11 +0000 (20:36 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Tue, 7 Jan 2003 20:36:11 +0000 (20:36 +0000)
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: r61012

gcc/ChangeLog
gcc/unwind-dw2.c

index 2bec1388b801e1cf73164dbd0729475a0f733cd6..c9eaded12b9b17f6a15627f5770dc81608586ef0 100644 (file)
@@ -1,3 +1,10 @@
+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.
+
 2003-01-07  Richard Henderson  <rth@redhat.com>
 
        * cfganal.c (flow_call_edges_add): Don't crash on noreturn call.
index d3828e97ad4e3da4130fec68ec7a7144d7abff1a..8151d69c25b309dd3b6fb17e5333b7e63f812ce6 100644 (file)
@@ -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, &reg);
+         break;
+
        case DW_CFA_nop:
          break;