This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Handle DW_OP_GNU_const_index


On Thu, Jun 14, 2012 at 1:17 PM, Doug Evans <dje@google.com> wrote:
> Hi.
>
> fyi, I will be checking this in once the corresponding change
> to include/dwarf2.def is approved on the gcc side
> (and the change is brought over to src).

Here is what I committed.

2012-06-18  Doug Evans  <dje@google.com>

        * dwarf2expr.c (execute_stack_op): Handle DW_OP_GNU_const_index.
        Adjust address for DW_OP_GNU_addr_index.
        * dwarf2expr.h (dwarf_expr_context): Update comment.
        * dwarf2loc.c (locexpr_describe_location_piece): New arg per_cu,
        all callers updated.  Handle TLS vars described with
        DW_OP_GNU_const_index.
        (disassemble_dwarf_expression): Handle DW_OP_GNU_addr_index
        and DW_OP_GNU_const_index.
        * dwarf2read.c (decode_locdesc): Handle DW_OP_GNU_addr_index.

Attachment: gdb-120618-dw-op-gnu-const-index-2.patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]