mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 18:44:20 +08:00
767221a942
function to display DW_OP_addr OP. (process_debug_info): Use dwarf_vma type for local variables length and type_offset.
213 lines
7.1 KiB
Plaintext
213 lines
7.1 KiB
Plaintext
2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
|
||
|
||
* dwarf.c (process_debug_info): Use offset_size to determine
|
||
the bit-size of the computation unit's offset.
|
||
(decode_location_expression): Use dwarf_vmatoa function to display
|
||
DW_OP_addr OP.
|
||
(process_debug_info): Use dwarf_vma type for local variables
|
||
length and type_offset.
|
||
|
||
2011-03-25 Michael Snyder <msnyder@vmware.com>
|
||
|
||
* strings.c (print_strings): Plug memory leak.
|
||
* ar.c (move_members): Plug memory leak.
|
||
(delete_members): Plug memory leak.
|
||
(write_archive): Plug memory leak.
|
||
* ieee.c (ieee_add_bb11): Plug memory leak.
|
||
(ieee_function_type): Likewise.
|
||
(ieee_class_baseclass): Likewise.
|
||
* prdbg.c (pr_function_type): Close memory leaks.
|
||
(pr_method_type): Likewise.
|
||
(tg_class_static_member): Likewise.
|
||
(tg_class_method_variant): Likewise.
|
||
(tg_class_static_method_variant): Likewise.
|
||
* stabs.c (parse_stab_enum_type): Fix memory leaks.
|
||
(parse_stab_struct_type): Likewise.
|
||
(parse_stab_struct_fields): Likewise.
|
||
(parse_stab_one_struct_field): Likewise.
|
||
(parse_stab_members): Likewise.
|
||
(stab_demangle_qualified): Likewise.
|
||
* objdump.c (dump_reloc_set): Free malloced memory.
|
||
* bucomm.c (make_tempname): Stop memory leak.
|
||
|
||
2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
|
||
|
||
Replace bfd_vma type and analog types by dwarf_vma and analogs.
|
||
Use dwarf specific print functions to display these type values.
|
||
* dwarf.h (dwarf_signed_vma): New type;
|
||
(DWARF2_External_LineInfo): Replace bfd_vma by dwarf_vma.
|
||
(DWARF2_External_PubNames): Likewise.
|
||
(DWARF2_External_CompUnit): Likewise.
|
||
(DWARF2_External_ARange): Likewise.
|
||
(read_leb128): Change return type to dwarf_vma.
|
||
* dwarf.c (print_dwarf_vma): Use __MINGW32__ conditional and
|
||
check byte_size values.
|
||
(dwarf_vmatoa): Change parameter type to dwarf_vma.
|
||
(dwarf_svmatoa): New static function.
|
||
(read_leb128): Change return type to dwarf_vma.
|
||
(read_sleb128): New static function.
|
||
(struct State_Machine_Registers): Change address field type to
|
||
dwarf_vma.
|
||
(process_extended_line_op): Adapt to type changes.
|
||
(fetch_indirect_string): Likewise.
|
||
(idisplay_block): Likewise.
|
||
(decode_location_expression): Likewise.
|
||
(read_and_display_attr_value): Likewise.
|
||
(process_debug_info): Likewise.
|
||
(display_debug_lines_raw): Likewise.
|
||
(display_debug_lines_decoded): Likewise.
|
||
(SLEB macro): Use new read_sleb128 function.
|
||
|
||
2011-03-17 Alan Modra <amodra@gmail.com>
|
||
|
||
PR 12590
|
||
* ar.c (ranlib_main): Init arg_index properly.
|
||
(usage): Describe --target.
|
||
|
||
2011-03-16 Jakub Jelinek <jakub@redhat.com>
|
||
|
||
* dwarf.c (dw_TAG_name): Handle DW_TAG_GNU_call_site_parameter.
|
||
(read_and_display_attr_value): Handle DW_AT_GNU_call_site_data_value,
|
||
DW_AT_GNU_call_site_target and DW_AT_GNU_call_site_target_clobbered.
|
||
(get_AT_name): Handle DW_AT_GNU_call_site_value,
|
||
DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target,
|
||
DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call,
|
||
DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites and
|
||
DW_AT_GNU_all_source_call_sites.
|
||
(decode_location_expression) <case DW_OP_GNU_entry_value>: Adjust
|
||
handling.
|
||
|
||
2011-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
|
||
* dwarf.c (get_TAG_name): Handle DW_TAG_GNU_call_site.
|
||
(decode_location_expression): Handle DW_OP_GNU_entry_value.
|
||
(read_and_display_attr_value): Handle DW_AT_GNU_call_site_value.
|
||
(get_AT_name): Likewise.
|
||
|
||
2011-03-14 Michael Snyder <msnyder@vmware.com>
|
||
|
||
* objcopy.c (set_pe_subsystem): Free subsystem.
|
||
|
||
* wrstabs.c (stab_start_struct_type): Close memory leak.
|
||
|
||
* readelf.c (process_version_sections): Free symbols.
|
||
|
||
* nm.c (display_rel_file): Free symsizes.
|
||
|
||
2011-03-10 Nick Clifton <nickc@redhat.com>
|
||
|
||
* readelf.c (get_machine_name): Update EM_V850 entry.
|
||
|
||
2011-03-03 Mike Frysinger <vapier@gentoo.org>
|
||
|
||
* objdump.c (usage): Fix single typo.
|
||
* po/bg.po, po/binutils.pot, po/da.po, po/es.po, po/fi.po,
|
||
po/fr.po, po/id.po, po/ja.po, po/ru.po, po/vi.po: Likewise.
|
||
|
||
2011-03-01 Akos Pasztory <akos.pasztory@gmail.com>
|
||
|
||
PR binutils/12523
|
||
* readelf.c (process_object): Clear dynamic_info_DT_GNU_HASH.
|
||
|
||
2011-02-28 Kai Tietz <kai.tietz@onevision.com>
|
||
|
||
* debug.c (debug_start_source): Use filename_(n)cmp.
|
||
* ieee.c (ieee_finish_compilation_unit): Likewise.
|
||
(ieee_lineno): Likewise.
|
||
* nlmconv.c (main): Likewise.
|
||
* objcopy.c (strip_main): Likewise.
|
||
(copy_main): Likewise.
|
||
* objdump.c (show_line): Likewise.
|
||
(dump_reloc_set): Likewise.
|
||
* srconv.c (main): Likewise.
|
||
* wrstabs.c (stab_lineno): Likewise.
|
||
|
||
2011-02-24 Zachary T Welch <zwelch@codesourcery.com>
|
||
|
||
* readelf.c (decode_arm_unwind): Implement decoding of remaining
|
||
ARM unwind instructions (i.e. VFP/NEON and Intel Wireless MMX).
|
||
|
||
2011-02-23 Kai Tietz <kai.tietz@onevision.com>
|
||
|
||
* dwarf.c (read_leb128): Use bfd_vma instead of
|
||
long type.
|
||
(dwarf_vmatoa): New helper routine.
|
||
(process_extended_line_op): Use for adr bfd_vma
|
||
type and print those typed values via BFD_VMA_FMT
|
||
or via dwarf_vmatoa for localized prints.
|
||
(fetch_indirect_string): Adjust offset's type.
|
||
(decode_location_expression): Adjust argument types
|
||
and uvalue type.
|
||
(read_and_display_attr_value): Likewise.
|
||
(read_and_display_attr): Likewise.
|
||
(decode_location_expression): Adjust printf format.
|
||
(process_debug_info): Likewise.
|
||
(display_debug_lines_raw): Likewise.
|
||
(display_debug_lines_decoded): Likewise.
|
||
(display_debug_pubnames): Likewise.
|
||
(display_debug_loc): Likewise.
|
||
(display_debug_aranges): Likewise.
|
||
* dwarf.h (DWARF2_External_LineInfo,
|
||
DWARF2_Internal_LineInfo, DWARF2_External_PubNames,
|
||
DWARF2_Internal_PubNames, DWARF2_External_CompUnit,
|
||
DWARF2_Internal_CompUnit, DWARF2_External_ARange,
|
||
DWARF2_Internal_ARange): Added..
|
||
(read_leb128): Adjust return type.
|
||
|
||
2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||
|
||
* configure: Regenerate.
|
||
|
||
2011-02-08 Nick Clifton <nickc@redhat.com>
|
||
|
||
PR binutils/12467
|
||
* readelf.c (process_program_headers): Issue a warning if there
|
||
are no program headers but the file header has a non-zero program
|
||
header offset.
|
||
(process_section_headers): Issue a warning if there are no section
|
||
headers but the file header has a non-zero section header offset.
|
||
(process_section_groups): Reword the no section message so that it
|
||
can be distinguished from the one issued by process_section_headers.
|
||
|
||
2011-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||
Doug Evans <dje@google.com>
|
||
|
||
* dwarf.c (display_gdb_index): Support version 4, warn on version 3.
|
||
|
||
2011-01-19 Maciej W. Rozycki <macro@codesourcery.com>
|
||
|
||
* readelf.c (process_object): Free dynamic_section after use.
|
||
|
||
2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
PR binutils/12408
|
||
* readelf.c (process_archive): Free and reset dump_sects
|
||
after processing each archive member.
|
||
|
||
2011-01-11 Andreas Schwab <schwab@redhat.com>
|
||
|
||
* readelf.c (print_symbol): Handle symbol characters as unsigned.
|
||
Whitespace fixes.
|
||
|
||
2011-01-10 Nick Clifton <nickc@redhat.com>
|
||
|
||
* po/da.po: Updated Danish translation.
|
||
|
||
2011-01-06 Vladimir Siminov <sv@sw.ru>
|
||
|
||
* bucomm.c (get_file_size): Check for negative sizes and issue a
|
||
warning message if encountered.
|
||
|
||
2011-01-01 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* version.c (print_version): Update copyright to 2011.
|
||
|
||
For older changes see ChangeLog-2010
|
||
|
||
Local Variables:
|
||
mode: change-log
|
||
left-margin: 8
|
||
fill-column: 74
|
||
version-control: never
|
||
End:
|