Jakub Jelinek
9d241bcfee
* dwarf2.h (DW_AT_GNU_macros): New.
...
(enum dwarf_macro_record_type): New enum. Add DW_MACRO_GNU_*.
2011-07-22 20:37:50 +00:00
Jakub Jelinek
a2cb987c63
* dwarf2.h (enum dwarf_location_atom): Add DW_OP_GNU_parameter_ref.
...
* dwarf.c (decode_location_expression): For DW_OP_GNU_convert and
DW_OP_GNU_reinterpret, if uvalue is 0, don't add cu_offset.
Handle DW_OP_GNU_parameter_ref.
2011-06-22 15:03:19 +00:00
Jakub Jelinek
cbec4110a2
* dwarf2.h (DW_OP_GNU_const_type, DW_OP_GNU_regval_type,
...
DW_OP_GNU_deref_type, DW_OP_GNU_convert, DW_OP_GNU_reinterpret): New.
2011-04-30 11:01:35 +00:00
Tristan Gingold
d67bad2a17
2011-03-31 Tristan Gingold <gingold@adacore.com>
...
* dwarf2.h (dwarf_line_number_hp_sfc_ops): New enum.
2011-03-31 14:29:33 +00:00
Tom Tromey
d6ab646ff6
2011-03-24 Mark Wielaard <mjw@redhat.com>
...
* dwarf2.h (dwarf_form): Remove deprecated DW_FORM_sig8 define.
2011-03-25 15:45:38 +00:00
Jakub Jelinek
e9393c3f78
* dwarf2.h (DW_TAG_GNU_call_site, DW_TAG_GNU_call_site_parameter,
...
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,, DW_AT_GNU_all_source_call_sites,
DW_OP_GNU_entry_value): New.
2011-03-16 08:48:47 +00:00
Kai Tietz
cf601851e0
ChangeLog include/
...
2011-02-23 Kai Tietz <kai.tietz@onevision.com>
* dwarf2.h (_ELF_DWARF2_H): Renamed to
_DWARF2_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): Removed.
ChangeLog binutils/
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-23 08:52:34 +00:00
Ulrich Weigand
e9857afa1c
include/ChangeLog:
...
* dwarf2.h (enum dwarf_calling_convention): Add DW_CC_GDB_IBM_OpenCL.
gdb/ChangeLog:
* dwarf2read.c (read_subroutine_type): Set special calling
convention flag for functions compiled by IBM XL C for OpenCL.
* ppc-sysv-tdep.c: Include "dwarf2.h"
(ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types
calling convention.
(do_ppc_sysv_return_value): Add FUNC_TYPE argument. Implement
IBM OpenCL vector types calling convention.
(ppc_sysv_abi_return_value): Pass through FUNC_TYPE.
(ppc_sysv_abi_broken_return_value): Likewise.
(ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector
types calling convention.
(ppc64_sysv_abi_return_value): Likewise.
* spu-tdep.c: Include "dwarf2.h"
(spu_return_value): Implement IBM OpenCL vector types calling
convention.
gdb/testsuite/ChangeLog:
* gdb.opencl/callfuncs.cl: New file.
* gdb.opencl/callfuncs.exp: New test.
* gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
2011-02-08 13:30:10 +00:00
DJ Delorie
7c0be7cbdb
merge from gcc
2011-01-12 19:04:47 +00:00
DJ Delorie
590c505c0e
merge from gcc
2010-11-05 18:06:02 +00:00
Jakub Jelinek
59808b22d2
* dwarf.h (debug_info): Add offset_info and dwarf_version fields.
...
* dwarf.c (decode_location_expression): Add offset_size and
dwarf_version arguments. Prefix DIE offset with 0x for
DW_OP_call{2,4,_ref}. Fix up DW_OP_call_ref operand size,
complain if in frame info section. Handle
DW_OP_GNU_implicit_pointer.
(read_and_display_attr_value, display_debug_loc,
display_debug_frames): Adjust decode_location_expression callers.
(process_debug_info): Save offset_size and dwarf_version values
into debug_information array.
* dwarf2.h (DW_OP_GNU_implicit_pointer): New.
2010-09-09 10:18:12 +00:00
Jakub Jelinek
d80400d46e
* dwarf2.h (enum dwarf_type): Add DW_ATE_UTF.
2010-06-21 16:39:14 +00:00
Tristan Gingold
dd77718ab9
2010-06-10 Tristan Gingold <gingold@adacore.com>
...
* dwarf2.h (enum dwarf_tag): Add DW_TAG_HP_Bliss_field and
DW_TAG_HP_Bliss_field_set.
(enum dwarf_attribute): Add DW_AT_HP_prologue, DW_AT_HP_epilogue,
DW_AT_HP_unit_name, DW_AT_HP_unit_size, DW_AT_HP_widened_byte_size,
DW_AT_HP_definition_points, DW_AT_HP_default_location and
DW_AT_HP_is_result_param.
(enum dwarf_type): Add DW_ATE_HP_VAX_float, DW_ATE_HP_VAX_float_d,
DW_ATE_HP_packed_decimal, DW_ATE_HP_zoned_decimal, DW_ATE_HP_edited,
DW_ATE_HP_signed_fixed, DW_ATE_HP_unsigned_fixed,
DW_ATE_HP_VAX_complex_float and DW_ATE_HP_VAX_complex_float_d.
(enum dwarf_line_number_x_ops): Add
DW_LNE_HP_source_file_correlation.
(enum dwarf_source_language): Add DW_LANG_HP_Bliss,
DW_LANG_HP_Basic91, DW_LANG_HP_Pascal91, DW_LANG_HP_IMacro,
DW_LANG_HP_Assembler.
2010-06-10 08:19:52 +00:00
Jakub Jelinek
44ac55bcb6
merge from gcc
2010-04-06 07:39:30 +00:00
DJ Delorie
26f5e38ec0
merge from gcc
2010-04-05 20:13:18 +00:00
Jakub Jelinek
89632f0136
include/
...
* dwarf2.h (DWARF2_Internal_LineInfo): Add li_max_ops_per_insn
field.
bfd/
* dwarf2.c (struct line_head): Add maximum_ops_per_insn field.
(struct line_info): Add op_index field, change end_sequence type to
unsigned char.
(new_line_sorts_after): For the same address compare op_index.
(add_line_info): Add op_index argument, store it into the structure.
(decode_line_info): Complain about unknown versions of .debug_line.
Initialize maximum_ops_per_insn. Add op_index state register and
track it.
binutils/
* dwarf.c (struct State_Machine_Registers): Add op_index field,
change end_sequence type to unsigned char.
(reset_state_machine): Clear op_index.
(process_extended_line_op): For DW_LNE_set_address clear op_index.
(display_debug_lines_raw): Initialize li_max_ops_per_insn.
Track op_index state machine register and print it if
li_max_ops_per_insn is != 1.
(display_debug_lines_decoded): Likewise.
2010-04-05 19:30:00 +00:00
Joel Brobecker
2e31b6574a
Add new DW_AT_use_GNAT_descriptive_type CU attribute.
...
* dwarf2.h (dwarf_attribute): Add DW_AT_use_GNAT_descriptive_type.
2010-01-13 11:09:31 +00:00
Joel Brobecker
5592e8833e
* dwarf2.h (enum dwarf_attribute): Add DW_AT_GNAT_descriptive_type.
2009-12-29 04:12:11 +00:00
Joel Brobecker
38090b588c
Checking this in for: Jonas Maebe <jonas.maebe@elis.ugent.be>
...
Add DWARF attribute value for the "Borland fastcall" calling
convention.
* elf/dwarf2.h: Add DW_CC_GNU_borland_fastcall_i386 constant.
2009-11-06 14:38:19 +00:00
DJ Delorie
1612945c43
merge from gcc
2009-10-15 17:03:34 +00:00
DJ Delorie
1e6459d3e5
merge from gcc
2009-09-26 00:01:16 +00:00
Cary Coutant
005012ce6b
include/
...
* dwarf2.h (DW_TAG_rvalue_reference_type, DW_TAG_template_alias):
New tags.
(DW_FORM_ref_sig8): New name for DW_FORM_sig8.
(DW_AT_main_subprogram, DW_AT_data_bit_offset, DW_AT_const_expr,
DW_AT_enum_class, DW_AT_linkage_name, DW_AT_GNU_guarded_by,
DW_AT_GNU_pt_guarded_by, DW_AT_GNU_guarded, DW_AT_GNU_pt_guarded,
DW_AT_GNU_locks_excluded, DW_AT_GNU_exclusive_locks_required,
DW_AT_GNU_shared_locks_required, DW_AT_GNU_odr_signature): New
attributes.
(DW_LANG_Python): New language.
binutils/
* dwarf.c (get_TAG_name): Add missing DWARF-3 and new DWARF-4 tags.
(get_FORM_name): Add new DWARF-4 forms.
(read_and_display_attr_value): Add DW_FORM_ref_sig8, DW_LANG_Python.
(get_AT_name): Add new DWARF-4 and GNU-specific attributes.
(process_debug_info): Add do_types parameter; change all callers.
Add support for .debug_types sections.
(display_debug_types): New function.
(debug_displays): Add .debug_types section.
* readelf.c (process_section_headers): Add .debug_types section.
(display_debug_section): Simplify call to streq.
2009-09-24 20:52:07 +00:00
DJ Delorie
515575eaae
merge from gcc
2009-09-22 21:52:47 +00:00
DJ Delorie
21bc970cf8
merge from gcc
2009-08-31 23:24:07 +00:00
Doug Evans
ceeb7ea098
Add some dwarf4 values.
...
* dwarf2.h (enum dwarf_tag): Add DW_TAG_type_unit.
(enum dwarf_form): Add DW_FORM_sec_offset, DW_FORM_exprloc,
DW_FORM_flag_present, DW_FORM_sig8.
(enum dwarf_attribute): Add DW_AT_signature.
2009-07-20 20:57:39 +00:00
DJ Delorie
08373ab21a
merge from gcc
2009-07-09 21:01:15 +00:00
DJ Delorie
2bc49a42c0
merge from gcc
2009-07-09 20:02:41 +00:00