diff options
author | 2011-07-27 17:06:13 +0000 | |
---|---|---|
committer | 2011-07-27 17:06:13 +0000 | |
commit | 523f3620b87ac8de01a68777bed56e2ede6f68b7 (patch) | |
tree | 3a41c9c61c5038e50bfac76d6e97fb427ab971d4 /gdb/dwarf2expr.h | |
parent | binutils/ (diff) | |
download | binutils-gdb-523f3620b87ac8de01a68777bed56e2ede6f68b7.tar.gz binutils-gdb-523f3620b87ac8de01a68777bed56e2ede6f68b7.tar.bz2 binutils-gdb-523f3620b87ac8de01a68777bed56e2ede6f68b7.zip |
gdb/
* dwarf2-frame.c (no_get_frame_base, no_get_frame_cfa, no_get_frame_pc)
(no_get_tls_address, no_dwarf_call, no_base_type): Move to the other
file.
(dwarf2_frame_ctx_funcs): Reference the renamed functions.
* dwarf2expr.c (ctx_no_get_frame_base, ctx_no_get_frame_cfa)
(ctx_no_get_frame_pc, ctx_no_get_tls_address, ctx_no_dwarf_call)
(ctx_no_get_base_type): Move the functions here.
* dwarf2expr.h (ctx_no_get_frame_base, ctx_no_get_frame_cfa)
(ctx_no_get_frame_pc, ctx_no_get_tls_address, ctx_no_dwarf_call)
(ctx_no_get_base_type): New declarations.
Diffstat (limited to 'gdb/dwarf2expr.h')
-rw-r--r-- | gdb/dwarf2expr.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/dwarf2expr.h b/gdb/dwarf2expr.h index 987f295600c..ff18f4bde77 100644 --- a/gdb/dwarf2expr.h +++ b/gdb/dwarf2expr.h @@ -253,4 +253,14 @@ const char *dwarf_stack_op_name (unsigned int); void dwarf_expr_require_composition (const gdb_byte *, const gdb_byte *, const char *); +/* Stub dwarf_expr_context_funcs implementations. */ + +void ctx_no_get_frame_base (void *baton, const gdb_byte **start, + size_t *length); +CORE_ADDR ctx_no_get_frame_cfa (void *baton); +CORE_ADDR ctx_no_get_frame_pc (void *baton); +CORE_ADDR ctx_no_get_tls_address (void *baton, CORE_ADDR offset); +void ctx_no_dwarf_call (struct dwarf_expr_context *ctx, size_t die_offset); +struct type *ctx_no_get_base_type (struct dwarf_expr_context *ctx, size_t die); + #endif /* dwarf2expr.h */ |