diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-07-18 21:31:50 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-07-18 21:31:50 +0000 |
commit | 625b0b9752856b35e2052b4dacd96fd4cf4fd3e3 (patch) | |
tree | 1c41e11cf4b72dcfe54c41ea63867429f7dd5d86 /gdb/elfread.c | |
parent | 986a241f8b043a790a63bc4e96bb731973a61ff4 (diff) | |
download | gdb-625b0b9752856b35e2052b4dacd96fd4cf4fd3e3.zip gdb-625b0b9752856b35e2052b4dacd96fd4cf4fd3e3.tar.gz gdb-625b0b9752856b35e2052b4dacd96fd4cf4fd3e3.tar.bz2 |
2003-07-18 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DWARF2_BUILD_FRAME_INFO): Delete method.
* gdbarch.h, gdbarch.c: Re-generate.
* i386-tdep.c (i386_gdbarch_init): Do not set
DWARF2_BUILD_FRAME_INFO.
* elfread.c (elf_symfile_read): Call dwarf2_build_frame_info
unconditionally.
* alpha-tdep.c (alpha_dwarf2_init_abi): Do not set
DWARF2_BUILD_FRAME_INFO.
Diffstat (limited to 'gdb/elfread.c')
-rw-r--r-- | gdb/elfread.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/elfread.c b/gdb/elfread.c index ff766fb..a655797 100644 --- a/gdb/elfread.c +++ b/gdb/elfread.c @@ -610,8 +610,9 @@ elf_symfile_read (struct objfile *objfile, int mainline) ei.lnoffset, ei.lnsize); } - if (DWARF2_BUILD_FRAME_INFO_P ()) - DWARF2_BUILD_FRAME_INFO(objfile); + /* FIXME: kettenis/20030504: This still needs to be integrated with + dwarf2read.c in a better way. */ + dwarf2_build_frame_info (objfile); } /* This cleans up the objfile's sym_stab_info pointer, and the chain of |