aboutsummaryrefslogtreecommitdiff
path: root/include/dwarf2.def
AgeCommit message (Collapse)AuthorFilesLines
2015-02-09GCC5/DWARFv5 Handle DW_TAG_atomic_type for C11 _Atomic type qualifier.Mark Wielaard1-0/+2
gdb/ChangeLog * c-typeprint.c (cp_type_print_method_args): Handle '_Atomic'. (c_type_print_modifier): Likewise. * dwarf2read.c (read_tag_atomic_type): New function. (read_type_die_1): Handle DW_TAG_atomic_type. * gdbtypes.c (make_atomic_type): New function. (recursive_dump_type): Handle TYPE_ATOMIC. * gdbtypes.h (enum type_flag_values): Renumber. (enum type_instance_flag_value): Add TYPE_INSTANCE_FLAG_ATOMIC. (TYPE_ATOMIC): New macro. (make_atomic_type): Declare. gdb/testsuite/ChangeLog * gdb.dwarf2/atomic.c: New file. * gdb.dwarf2/atomic-type.exp: Likewise. include/ChangeLog * dwarf2.def: Add DW_TAG_atomic_type.
2015-01-23Use GCC5/DWARF5 DW_AT_noreturn to mark functions that don't return normally.Mark Wielaard1-0/+2
Add a flag field is_noreturn to struct func_type. Make calling_convention a small bit field to not increase the size of the struct. Set is_noreturn if the new GCC5/DWARF5 DW_AT_noreturn is set on a DW_TAG_subprogram. Use this information to warn the user before doing a finish or return from a function that does not return normally to its caller. (gdb) finish warning: Function endless does not return normally. Try to finish anyway? (y or n) (gdb) return warning: Function does not return normally to caller. Make endless return now? (y or n) gdb/ChangeLog * dwarf2read.c (read_subroutine_type): Set TYPE_NO_RETURN from DW_AT_noreturn. * gdbtypes.h (struct func_type): Add is_noreturn field flag. Make calling_convention an 8 bit bit field. (TYPE_NO_RETURN): New macro. * infcmd.c (finish_command): Query if function does not return normally. * stack.c (return_command): Likewise. gdb/testsuite/ChangeLog * gdb.base/noreturn-return.c: New file. * gdb.base/noreturn-return.exp: New file. * gdb.base/noreturn-finish.c: New file. * gdb.base/noreturn-finish.exp: New file. include/ChangeLog * dwarf2.def (DW_AT_noreturn): New DWARF5 attribute. The dwarf2.h addition and the code to emit the new attribute is already in the gcc tree.
2015-01-02ChangeLog rotatation and copyright year updateAlan Modra1-3/+1
2014-11-21Merge include/* files from GCC commit 69a2f316d3.Andrew Burgess1-0/+14
include/ChangeLog: * dwarf2.def (DW_AT_APPLE_optimized, DW_AT_APPLE_flags) (DW_AT_APPLE_isa, DW_AT_APPLE_block) (DW_AT_APPLE_major_runtime_vers, DW_AT_APPLE_runtime_class) (DW_AT_APPLE_omit_frame_ptr, DW_AT_APPLE_property_name) (DW_AT_APPLE_property_getter, DW_AT_APPLE_property_setter) (DW_AT_APPLE_property_attribute, DW_AT_APPLE_objc_complete_type) (DW_AT_APPLE_property): New macros.
2014-11-21Merge include/* files from GCC commit 77cab4753.Andrew Burgess1-0/+2
include/ChangeLog: PR debug/63239 * dwarf2.def (DW_AT_GNU_deleted): New attribute.
2013-08-20merge from gccDJ Delorie1-0/+3
2012-11-11merge from gccDJ Delorie1-14/+0
2012-10-26 * dwarf2.h (DW_AT_APPLE_optimized, DW_AT_APPLE_flags)Nick Clifton1-0/+14
(DW_AT_APPLE_isa, DW_AT_APPLE_block) (DW_AT_APPLE_major_runtime_vers, DW_AT_APPLE_runtime_class) (DW_AT_APPLE_omit_frame_ptr, DW_AT_APPLE_property_name) (DW_AT_APPLE_property_getter, DW_AT_APPLE_property_setter) (DW_AT_APPLE_property_attribute, DW_AT_APPLE_objc_complete_type) (DW_AT_APPLE_property, DW_OP_GNU_entry_value): New macros.
2012-09-062012-09-06 Cary Coutant <ccoutant@google.com>Cary Coutant1-1/+1
include/ * dwarf2.def: Edit comment.
2012-06-19merge from gccDJ Delorie1-0/+1
2012-06-08merge from gccDJ Delorie1-0/+4
2012-05-22merge from gccDJ Delorie1-1/+1
2012-05-02include/Cary Coutant1-2/+1
* dwarf2.def: Remove DW_FORM_GNU_ref_index, replace DW_AT_GNU_ref_base with DW_AT_GNU_ranges_base.
2012-04-28 * dwarf2.def (DW_OP): Add DW_OP_GNU_addr_index.Doug Evans1-0/+2
2012-04-27merge from gccDJ Delorie1-0/+679