Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'agent/tcf/services/dwarfexpr.h')
-rw-r--r--agent/tcf/services/dwarfexpr.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/agent/tcf/services/dwarfexpr.h b/agent/tcf/services/dwarfexpr.h
index 1ebbd484..c40a8ce5 100644
--- a/agent/tcf/services/dwarfexpr.h
+++ b/agent/tcf/services/dwarfexpr.h
@@ -30,7 +30,22 @@
/* PropertyValue format for expresson evaluation results */
#define FORM_EXPR_VALUE 0x00ff
-extern void dwarf_evaluate_expression(U8_T base, PropertyValue * value);
+extern U8_T dwarf_expression_obj_addr;
+extern U8_T dwarf_expression_pm_value;
+
+typedef struct DWARFExpressionInfo {
+ U8_T code_addr;
+ U8_T code_size;
+ CompUnit * unit;
+ ObjectInfo * object;
+ ELF_Section * section;
+ U1_T * expr_addr;
+ size_t expr_size;
+} DWARFExpressionInfo;
+
+extern ObjectInfo * get_parent_function(ObjectInfo * info);
+extern void dwarf_find_expression(PropertyValue * Value, U8_T IP, DWARFExpressionInfo * info);
+extern void dwarf_evaluate_expression(PropertyValue * value);
#endif /* ENABLE_ELF && ENABLE_DebugContext */

Back to the top