aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2cfi.c
AgeCommit message (Collapse)AuthorFilesLines
2002-07-192002-07-17 Michal Ludvig <michal@suse.cz>Michal Ludvig1-2/+3
* dwarf2cfi.c (execute_stack_op): Complain on unknown DW_OP_ value. (update_context): Initialise cfa variable.
2002-07-15* dwarf2cfi.c: Include "gdb_assert.h".Andrew Cagney1-22/+18
(frame_state_for): Use gdb_assert to check that fde->cie_ptr is non-NULL. (update_context): Do not use __func__. Add missing ``break''. (update_context): Do not use __func__.
2002-07-11Fix some K&R isms.Andrew Cagney1-6/+6
2002-07-08* dwarf2cfi.c: Include "gcore.h".Mark Kettenis1-21/+11
(execute_stack_op): Fix implementation of the DW_OP_deref and DW_OP_deref_size operators by letting do their lookup in the target.
2002-07-04* dwarf2cfi.c (cfi_pop_frame): Use alloca() for regbuf.Mark Kettenis1-3/+1
Don't call get_current_frame().
2002-06-21 * dwarf2cfi.c: Reindented.Michal Ludvig1-41/+41
2002-06-212002-06-21 Michal Ludvig <mludvig@suse.cz>Michal Ludvig1-89/+249
* dwarf2cfi.c (read_encoded_pointer): Don't handle pointer encoding anymore. (pointer_encoding, enum ptr_encoding): New. (execute_cfa_program): Take care about pointer encoding. (dwarf2_build_frame_info): Only call parse_frame_info for .debug_frame and .eh_frame. (parse_frame_info): New, derived from former dwarf2_build_frame_info. fixed augmentation handling, added relative addressing, ignore duplicate FDEs. Added comments.
2002-06-11* dwarf2cfi.c: Reindented (using 'indent dwarf2cfi.c')Michal Ludvig1-83/+85
2002-06-112002-06-11 Michal Ludvig <mludvig@suse.cz>Michal Ludvig1-2/+25
* dwarf2cfi.c (unwind_tmp_obstack_init): New. (unwind_tmp_obstack_free, parse_frame_info) (update_context, cfi_read_fp, cfi_write_fp) (cfi_frame_chain, cfi_init_extra_frame_info) (cfi_virtual_frame_pointer): Use the above function.
2002-05-222002-05-22 Michal Ludvig <mludvig@suse.cz>Michal Ludvig1-1/+2
* dwarf2cfi.c (execute_stack_op): Change type of 'result' from ULONGEST to CORE_ADDR.
2002-05-222002-05-22 Michal Ludvig <mludvig@suse.cz>Michal Ludvig1-10/+37
* dwarf2cfi.c (frame_state_for): Added safety check for a valid fde->cie_ptr. (dwarf2_build_frame_info): Corrected handling of eh_frame. (dwarf2_build_frame_info): Add offset to fde->initial_location so that frames of shared libraries are mapped correctly.
2002-05-142002-05-14 Michal Ludvig <mludvig@suse.cz>Michal Ludvig1-5/+19
* dwarf2cfi.c (context_cpy): Copy registers correctly. (update_context): Use __func__ in warnings.
2002-05-072002-05-07 Michal Ludvig <mludvig@suse.cz>Michal Ludvig1-8/+9
* dwarf2cfi.c: Code cleanup, removed unused variables, added default labels to switch {} statements. * x86-64-tdep.c: Ditto. * x86-64-linux-nat.c: Ditto.
2002-04-06* h8500-tdep.c (h8500_write_fp): Delete function.Andrew Cagney1-1/+2
* dwarf2cfi.c (cfi_write_fp): Document as not used. * mips-tdep.c (mips_gdbarch_init): Do not set write_fp. * ia64-tdep.c (ia64_gdbarch_init): Do not set write_fp. * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set write_fp. * rs6000-tdep.c (rs6000_gdbarch_init): Do not set write_fp. * s390-tdep.c (s390_gdbarch_init): Do not set write_fp. (s390_write_fp): * sh-tdep.c (sh_gdbarch_init): Do not set write_fp. * x86-64-tdep.c (i386_gdbarch_init): Do not set write_fp. * d10v-tdep.c (d10v_gdbarch_init): Do not set write_fp. (d10v_write_fp): Delete function. * inferior.h (write_fp, generic_target_write_fp): Delete declarations. * regcache.c (generic_target_write_fp): Delete function. (write_fp): Delete function. * gdbarch.sh (TARGET_WRITE_FP): Delete. * gdbarch.h, gdbarch.c: Regenerate. * config/v850/tm-v850.h (TARGET_WRITE_FP): Delete macro. * config/sparc/tm-sp64.h (TARGET_WRITE_FP): Delete macro. (sparc64_write_fp): Delete declaration. * config/h8500/tm-h8500.h (TARGET_WRITE_FP): Delete macro. (h8500_write_fp): Delete declaration.
2002-03-27 * dwarf2cfi.c: Give credit to Daniel Berlin, reformat copyrightAndreas Jaeger1-2/+2
comment.
2001-12-07* dwarf2cfi.c: New file.Jiri Smid1-0/+1740
* 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.