summaryrefslogtreecommitdiff
path: root/gdb/dwarf2expr.h
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-10-17 12:57:13 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-10-17 12:57:13 +0000
commitd38bb22fd7dc3f68157654560971b253d2cdd9d1 (patch)
treef996590cb23b5233317890847e0c6b84cfd36bc5 /gdb/dwarf2expr.h
parent8f359a1441bd7506a72820f8b463ee58df50d077 (diff)
downloadgdb-d38bb22fd7dc3f68157654560971b253d2cdd9d1.tar.gz
gdb/
Revert: 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com> * dwarf2expr.c (ctx_no_read_reg): New function. * dwarf2expr.h (ctx_no_read_reg): New declaration. * dwarf2read.c (read_2_signed_bytes, read_4_signed_bytes): Remove. (decode_locdesc_read_mem, decode_locdesc_ctx_funcs): New. (decode_locdesc): Replace by a caller of dwarf_expr_eval. gdb/testsuite/ * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it. Revert the part of: 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com> * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors): Change the expected string.
Diffstat (limited to 'gdb/dwarf2expr.h')
-rw-r--r--gdb/dwarf2expr.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/dwarf2expr.h b/gdb/dwarf2expr.h
index a319ca32812..2c1da26e54b 100644
--- a/gdb/dwarf2expr.h
+++ b/gdb/dwarf2expr.h
@@ -270,7 +270,6 @@ void dwarf_expr_require_composition (const gdb_byte *, const gdb_byte *,
/* Stub dwarf_expr_context_funcs implementations. */
-CORE_ADDR ctx_no_read_reg (void *baton, int regnum);
void ctx_no_get_frame_base (void *baton, const gdb_byte **start,
size_t *length);
CORE_ADDR ctx_no_get_frame_cfa (void *baton);