diff options
Diffstat (limited to 'gdb/dwarf2expr.c')
-rw-r--r-- | gdb/dwarf2expr.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/dwarf2expr.c b/gdb/dwarf2expr.c index 3b2b252..83c7db7 100644 --- a/gdb/dwarf2expr.c +++ b/gdb/dwarf2expr.c @@ -1280,6 +1280,14 @@ abort_expression: gdb_assert (ctx->recursion_depth >= 0); } +/* Stub dwarf_expr_context_funcs.read_reg implementation. */ + +CORE_ADDR +ctx_no_read_reg (void *baton, int regnum) +{ + error (_("Registers access is invalid in this context")); +} + /* Stub dwarf_expr_context_funcs.get_frame_base implementation. */ void |