* dwarf2-frame.h (dwarf2_frame_set_init_reg): New prototype.
authorMark Kettenis <kettenis@gnu.org>
Sun, 15 Feb 2004 21:29:26 +0000 (21:29 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sun, 15 Feb 2004 21:29:26 +0000 (21:29 +0000)
commit8f22cb9068670ce9c634e55028877721e7863e63
treee8dee1ae23e90d8fbcf3079f982bd5a6ca2cec5c
parent046a4708e43cc23af647089c058c034ff23adec0
* dwarf2-frame.h (dwarf2_frame_set_init_reg): New prototype.
* dwarf2-frame.c (dwarf2_frame_data): New variable.
(struct dwarf2_frame_ops): New.
(dwarf2_frame_default_init_reg): New function, based on
dwarf2_frame_init_reg.
(dwarf2_frame_init, dwarf2_frame_set_init_reg): New function.
(dwarf2_frame_init_reg): Call architecture-specific function.
(dwarf2_frame_objfile_data): Renamed from dwarf2_frame_data.
(dwarf2_frame_find_fde, add_fde): Use dwarf2_frame_objfile_data
instead of dwarf2_frame_data.
(_initialize_dwarf2_frame): Initailize new dwarf2_frame_data.
Initialize dwarf2_frame_objfile instead of old dwarf2_frame_data.
gdb/ChangeLog
gdb/dwarf2-frame.c
gdb/dwarf2-frame.h