Commit cb25b0ce by Benjamin Kosnik Committed by Benjamin Kosnik

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
parent 94c040bd
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> 2003-01-07 Richard Henderson <rth@redhat.com>
* cfganal.c (flow_call_edges_add): Don't crash on noreturn call. * cfganal.c (flow_call_edges_add): Don't crash on noreturn call.
......
/* DWARF2 exception handling and frame unwind runtime interface routines. /* 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. Free Software Foundation, Inc.
This file is part of GCC. This file is part of GCC.
...@@ -784,6 +784,9 @@ execute_cfa_program (const unsigned char *insn_ptr, ...@@ -784,6 +784,9 @@ execute_cfa_program (const unsigned char *insn_ptr,
case DW_CFA_undefined: case DW_CFA_undefined:
case DW_CFA_same_value: case DW_CFA_same_value:
insn_ptr = read_uleb128 (insn_ptr, &reg);
break;
case DW_CFA_nop: case DW_CFA_nop:
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment