Make some dwarf_expr_context methods pure virtual
authorTom Tromey <tom@tromey.com>
Thu, 20 Oct 2016 03:38:38 +0000 (21:38 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 21 Oct 2016 20:17:40 +0000 (14:17 -0600)
commitbefbff861e07212f4073e4ce72e4b45cca3e0f8d
treecd6b3316cee33940b42953135f5c75da04657acd
parentce6c454e5acbaec4e0c22e9c8af0fe7686a53baa
Make some dwarf_expr_context methods pure virtual

This patch changes some dwarf_expr_context to be pure virtual, as
mentioned during the discussion of an earlier patch in this series.

2016-10-21  Tom Tromey  <tom@tromey.com>

* dwarf2expr.h (class dwarf_expr_context)
<get_frame_base, get_frame_cfa, get_tls_address, dwarf_call,
push_dwarf_block_entry_value, get_addr_index, get_object_address>:
Now pure virtual.
* dwarf2-frame.c (class dwarf_expr_executor)
<get_frame_base, get_frame_cfa, get_tls_address, dwarf_call,
push_dwarf_block_entry_value, get_addr_index, get_object_address>:
New methods.
<invalid>: New method.
gdb/ChangeLog
gdb/dwarf2-frame.c
gdb/dwarf2expr.h