diff options
author | Jiri Smid <smid@suse.cz> | 2001-12-07 12:10:15 +0000 |
---|---|---|
committer | Jiri Smid <smid@suse.cz> | 2001-12-07 12:10:15 +0000 |
commit | ae4a47d0896b967446261e69ab10f44596da4ec7 (patch) | |
tree | cb5e9ab16976eed4f66f64715a4a0e21d97766d7 /gdb/elfread.c | |
parent | 2d3426dbeb848a105ebec61fdcf5bbe97ec84989 (diff) | |
download | gdb-ae4a47d0896b967446261e69ab10f44596da4ec7.tar.gz |
* dwarf2cfi.c: New file.
* dwarf2cfi.h: New file.
* dwarf2read.c (dwarf_frame_offset, dwarf_frame_size): New variables.
(dwarf_eh_frame_offset, dwarf_eh_frame_size): New variables.
(dwarf2_read_section): Change to non static.
(dwarf2_locate_sections): Add .debug_frame and .eh_frame section
recognition.
(FRAME_SECTION, EH_FRAME_SECTION): New define.
* elfread.c (elf_symfile_read): Add call of frame informations build.
* frame.h (frame_info): Add pointer to unwind_context.
* symfile.h (dwarf2_build_frame_info): Add declaration.
* gdbarch.sh (DWARF2_BUILD_FRAME_INFO): Add.
* gdbarch.h, gdbarch.c: Regenerate.
* Makefile.in: Add dwarf2cfi_h, dwarf2cfi.o
* x86-64-tdep.c (i386_gdbarch_init): Initialize target vector to
use debug frame info.
Diffstat (limited to 'gdb/elfread.c')
-rw-r--r-- | gdb/elfread.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/elfread.c b/gdb/elfread.c index 84807c066f3..068d412b6e5 100644 --- a/gdb/elfread.c +++ b/gdb/elfread.c @@ -656,6 +656,9 @@ elf_symfile_read (struct objfile *objfile, int mainline) ei.lnoffset, ei.lnsize); } + if (DWARF2_BUILD_FRAME_INFO_P ()) + DWARF2_BUILD_FRAME_INFO(objfile); + /* Install any minimal symbols that have been collected as the current minimal symbols for this objfile. */ |