X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fdwarf2expr.h;h=eb2259bfc442e72411894c30684893f3731e0187;hb=d55e5aa6b29906346c51ad00e6a9b112590aa294;hp=a8d6ae111dc707fa9d7d34cbd737eec8b2a3f5ea;hpb=d185219da329805075ba5e0e72ec4c89c925cff2;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/dwarf2expr.h b/gdb/dwarf2expr.h index a8d6ae111d..eb2259bfc4 100644 --- a/gdb/dwarf2expr.h +++ b/gdb/dwarf2expr.h @@ -1,6 +1,6 @@ /* DWARF 2 Expression Evaluator. - Copyright (C) 2001-2017 Free Software Foundation, Inc. + Copyright (C) 2001-2019 Free Software Foundation, Inc. Contributed by Daniel Berlin . @@ -22,8 +22,8 @@ #if !defined (DWARF2EXPR_H) #define DWARF2EXPR_H -#include "leb128.h" #include "gdbtypes.h" +#include "leb128.h" /* The location of a value. */ enum dwarf_value_location @@ -221,6 +221,9 @@ struct dwarf_expr_context subroutine. */ virtual void dwarf_call (cu_offset die_cu_off) = 0; + /* Execute "variable value" operation on the DIE at SECT_OFF. */ + virtual struct value *dwarf_variable_value (sect_offset sect_off) = 0; + /* Return the base type given by the indicated DIE at DIE_CU_OFF. This can throw an exception if the DIE is invalid or does not represent a base type. SIZE is non-zero if this function should