From: Roland McGrath Date: Wed, 15 Sep 2010 01:43:11 +0000 (-0700) Subject: Merge commit 'elfutils-0.149' into dwarf X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1f549009f3af6832c9ae51e081fdd2b22ea6319c;p=thirdparty%2Felfutils.git Merge commit 'elfutils-0.149' into dwarf --- 1f549009f3af6832c9ae51e081fdd2b22ea6319c diff --cc libdw/ChangeLog index b092a4056,da6ed0569..c80600350 --- a/libdw/ChangeLog +++ b/libdw/ChangeLog @@@ -1,34 -1,26 +1,57 @@@ + 2010-07-26 Roland McGrath + + * dwarf_getlocation_implicit_pointer.c: New file. + * Makefile.am (libdw_a_SOURCES): Add it. + * libdw.map (ELFUTILS_0.149): New set. + Add dwarf_getlocation_implicit_pointer. + * libdw.h: Declare it. + + * dwarf_offdie.c (do_offdie): Renamed to __libdw_offdie, made global. + (dwarf_offdie, dwarf_offdie_types): Update callers. + * libdwP.h: Declare it. + + * dwarf.h: Add DW_OP_GNU_implicit_pointer. + * dwarf_getlocation.c (__libdw_intern_expression): Handle it. + + 2010-08-24 Roland McGrath + + * libdw.map (ELFUTILS_0.149): New set. Add dwfl_dwarf_line. + + 2010-07-27 Roland McGrath + + * dwarf_formref_die.c: Fix sig8 hash insertion. + +2010-08-20 Mark Wielaard + + * c++/dwarf_data (dwarf_data::directory_table::directory_table): + Cleaner way of handling first push_back. + +2010-08-19 Mark Wielaard + + * c++/dwarf_data (dwarf_data::directory_table::directory_table): + Treat first entry "special", can be NULL/empty. + +2010-08-18 Roland McGrath + + * c++/subr.hh (subr::container_tail_equal): New function. + * c++/dwarf_data (dwarf_data::directory_table::operator==): Use it + to ignore the compilation directory (first table element). + +2010-07-21 Roland McGrath + + * c++/dwarf_ref_maker (dwarf_ref_maker::seen): Add copy constructor + to avoid default copying of uninitialized iterator. + +2010-07-13 Roland McGrath + + * c++/dwarf_comparator (dwarf_tracker_base): Replace visit method with + visitor type. + (dwarf_comparator): Update caller. + +2010-07-01 Roland McGrath + + * c++/values.cc (is_list, what_space): Handle v4 CU rules. + 2010-06-23 Roland McGrath * cfi.c (dwarf_cfi_validate_fde): Function removed. diff --cc libdw/Makefile.am index a6c98a879,598bdd1ff..279e85995 --- a/libdw/Makefile.am +++ b/libdw/Makefile.am @@@ -92,17 -84,8 +92,17 @@@ libdw_a_SOURCES = dwarf_begin.c dwarf_b dwarf_frame_info.c dwarf_frame_cfa.c dwarf_frame_register.c \ dwarf_cfi_addrframe.c \ dwarf_getcfi.c dwarf_getcfi_elf.c dwarf_cfi_end.c \ - dwarf_aggregate_size.c + dwarf_aggregate_size.c dwarf_getlocation_implicit_pointer.c +# XXX need to figure out C++ dso crapola +lib_LIBRARIES += libdwpp.a +libdwpp_a_SOURCES = c++/values.cc \ + c++/exception.cc \ + c++/known.cc \ + c++/line_info.cc \ + c++/edit-values.cc \ + c++/output-values.cc c++/output-shape.cc + if MAINTAINER_MODE BUILT_SOURCES = $(srcdir)/known-dwarf.h MAINTAINERCLEANFILES = $(srcdir)/known-dwarf.h diff --cc src/ChangeLog index 96826fb53,716e7313f..0d56ea369 --- a/src/ChangeLog +++ b/src/ChangeLog @@@ -1,8 -1,57 +1,62 @@@ + 2010-07-26 Roland McGrath + + * readelf.c (print_ops): Handle DW_OP_GNU_implicit_pointer. + + 2010-08-30 Roland McGrath + + Print .debug_loc/.debug_ranges with cognizance of actual DIE uses. + * readelf.c (parse_opt): Add section_info to implicit_debug_sections + for ranges, loc. + (struct listptr, struct listptr_table): New types. + (compare_listptr, reset_listptr, sort_listptr): New functions. + (notice_listptr, skip_listptr_hole): New functions. + (struct attrcb_args): Add silent member. + (attr_callback): Call notice_listptr for loclistptr and rangelistptr. + Suppress output if silent, but still call notice_listptr. + (print_debug_units): Suppress output if section_info not requested. + (print_debug_loc_section): Call sort_listptr, skip_listptr_hole. + (print_debug_ranges_section): Likewise. + (print_debug): Call reset_listptr on both tables. + + * readelf.c (print_debug_ranges_section): Print empty list. + (print_debug_loc_section): Likewise. + + * readelf.c (print_debug_loc_section): Check for bogus length + before calling print_ops. + (print_ops): Check harder for bogus data that would read off end. + + 2010-08-11 Roland McGrath + + * readelf.c (for_each_section_argument): Process all sections with + matching name, not just the first. + + 2010-07-26 Roland McGrath + + * readelf.c (print_ops): Take new argument for CU version. + Fix DW_OP_call_ref decoding to depend on it. + (print_debug_loc_section): Update caller. + (print_cfa_program): Take new argument, pass it down. + (print_debug_frame_section): Update caller. + (struct attrcb_args): New member version. + (print_debug_units): Initialize it. + + 2010-07-02 Roland McGrath + + * readelf.c (print_debug_frame_section): Use format_dwarf_addr for + initial_location. + + 2010-06-30 Roland McGrath + + * strings.c (main): Use STDIN_FILENO, not STDOUT_FILENO. + Ignore st_size for a non-S_ISREG file descriptor. + (read_block): Move assert after no-mmap bail-out. + (read_block_no_mmap): Fix size calculations for moving buffer remnant. + +2010-07-13 Roland McGrath + + * dwarfcmp.cc (talker): Replace visit method with visitor type. + (noisy_compare): Update caller. + 2010-06-22 Roland McGrath * readelf.c (print_debug_line_section): Fix braino in DW_LNS_set_isa.