History log of /freebsd-10-stable/contrib/gdb/gdb/dwarf2read.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 251844 17-Jun-2013 emaste

Include die tag in error message


# 251667 12-Jun-2013 emaste

Handle DW_TAG_unspecified_type

2011-11-14 Jim Ingham <jingham@apple.com>

* dwarf2read.c (read_type_die): Handle DW_TAG_unspecified_type.
(read_tag_unspecified_type): New function, add a type for the
DW_TAG_unspecified_type die.

Obtained from: Apple, gdb-1752


# 251665 12-Jun-2013 emaste

Handle DW_TAG_rvalue_reference_type

2012-05-21 Jim Ingham <jingham@apple.com>

* dwarf2read.c (process_die): Handle DW_TAG_rvalue_reference_type.
(read_type_die): Ditto.
(dwarf_tag_name): Ditto.

* elf/dwarf2.h: Add DW_TAG_rvalue_reference_type.

Obtained from: Apple, gdb-1820


# 244437 19-Dec-2012 emaste

Support restrict qualifier in dwarf debug info

Newer clang/llvm emit DW_TAG_restrict_type, which wasn't handled by gdb.
Import support from Apple's gdb-1822:

| 2009-03-24 Jason Molenda (jmolenda@apple.com)
|
| * gdbtypes.c (make_cv_type): Rename this function to make_cvr_type to
| also handle restrict qualifiers.
| (check_typedef): Handle TYPE_RESTRICT.
| * gdbtypes.h (TYPE_FLAG_RESTRICT, TYPE_RESTRICT): New.
| * hpread.c (hpread_type_lookup): Update to use make_cvr_type.
| * stabsread.c (read_type): Pass the restrict qualifiers along.
| * parse.c (follow_types): Pass the restrict qualifiers along.
| * dwarf2read.c (read_tag_const_type): Call make_cvr_type.
| (read_tag_volatile_type): Same.
| (read_tag_restrict_type): New function.
| (read_type_die): Handle DW_TAG_restrict_type.

Obtained from: Apple
Sponsored by: ADARA Networks


# 239870 29-Aug-2012 dim

Teach gdb about the DW_FORM_flag_present dwarf attribute, so it doesn't
error out on files that contain it. (This attribute can be emitted by
newer versions of clang.)

MFC after: 2 weeks


# 218822 18-Feb-2011 dim

Merge binutils 2.17.50 to head. This brings a number of improvements to
x86 CPU support, better support for powerpc64, some new directives, and
many other things. Bump __FreeBSD_version, and add a note to UPDATING.

Thanks to the many people that have helped to test this.

Obtained from: projects/binutils-2.17


# 214651 01-Nov-2010 gonzo

Fix reading of .debug_line on MIPS64, big-endian:
read_initial_length detects pointer size by checking first
4 bytes of .debug_line and stores it in struct comp_unit_head *
passed to it as second argument. By passing NULL to a
read_initial_length we ignore actual pointer size (8 bytes) and
use default (4 bytes) which results in wrong offsets of header fields.


# 130804 20-Jun-2004 marcel

This commit was generated by cvs2svn to compensate for changes in r130803,
which included commits to RCS files with non-trunk default branches.


# 130803 20-Jun-2004 marcel

Import of GDB version 6.1.1 (stripped; see FREEBSD-Xlist rev. 1.6).


# 98944 27-Jun-2002 obrien

Vendor import of GDB 5.2.
These bits are taken from the FSF gdb_5_2-branch anoncvs repo
on 27-June-2002 12:01:00 EDT.


# 46283 02-May-1999 dfr

Virgin import of gdb-4.18