Add support for DW_AT_data_location.
authorJoel Brobecker <brobecker@adacore.com>
Mon, 11 Aug 2014 23:37:10 +0000 (16:37 -0700)
committerJoel Brobecker <brobecker@adacore.com>
Mon, 18 Aug 2014 16:12:53 +0000 (18:12 +0200)
commit3cdcd0ce16272ae8e8183699a341d081b6eb1b21
tree3309ad37199b955af054b55452df2af528117a60
parent08412b0722301c4ffbd9fd51d4056bc436b69658
Add support for DW_AT_data_location.

gdb/ChangeLog:

        * gdbtypes.h (struct main_type): Add field "data_location".
        (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
        (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
        * gdbtypes.c (is_dynamic_type): Return 1 if the type has
        a dynamic data location.
        (resolve_dynamic_type): Add DW_AT_data_location handling.
        (copy_recursive, copy_type): Copy the data_location information
        when present.
        * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
        * value.c (value_from_contents_and_address): Add
        DW_AT_data_location handling.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/gdbtypes.c
gdb/gdbtypes.h
gdb/value.c
This page took 0.028201 seconds and 4 git commands to generate.