* dwarf2-frame.c (struct dwarf2_fde): Add eh_frame_p.
authorAndreas Schwab <schwab@linux-m68k.org>
Tue, 9 May 2006 21:14:17 +0000 (21:14 +0000)
committerAndreas Schwab <schwab@linux-m68k.org>
Tue, 9 May 2006 21:14:17 +0000 (21:14 +0000)
commit4bf8967cb234b25f2732ecb075344fa17ce05f75
treec67df90c7cc4fe5f866adee5ebcb5f941e21a61c
parent43cc0762b25b15d4e39fe23e68fd719f03108e98
* dwarf2-frame.c (struct dwarf2_fde): Add eh_frame_p.
(execute_cfa_program): Add parameter eh_frame_p.  Call
dwarf2_frame_eh_frame_regnum when true.
(dwarf2_frame_cache): Pass eh_frame_p from fde to
execute_cfa_program.
(decode_frame_entry_1): Call dwarf2_frame_eh_frame_regnum when
processing .eh_frame.  Copy eh_frame_p to the new fde.
(struct dwarf2_frame_ops): Add eh_frame_regnum.
(dwarf2_frame_set_eh_frame_regnum): Define.
(dwarf2_frame_eh_frame_regnum): Define.

* dwarf2-frame.h (dwarf2_frame_set_eh_frame_regnum): Declare.
(dwarf2_frame_eh_frame_regnum): Declare.
gdb/ChangeLog
gdb/dwarf2-frame.c
gdb/dwarf2-frame.h