aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2expr.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-10-17 12:57:15 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-10-17 12:57:15 +0000
commit21ae7a4d84e8fbd5c9723a7929ababe9ac57ec3a (patch)
tree26950f1f8d40890eb034e1e09c22d0309198ff2f /gdb/dwarf2expr.c
parent4c58e0d81504856e1b6d1bdffbe5146260a07bbc (diff)
downloadgdb-21ae7a4d84e8fbd5c9723a7929ababe9ac57ec3a.zip
gdb-21ae7a4d84e8fbd5c9723a7929ababe9ac57ec3a.tar.gz
gdb-21ae7a4d84e8fbd5c9723a7929ababe9ac57ec3a.tar.bz2
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.c')
-rw-r--r--gdb/dwarf2expr.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/dwarf2expr.c b/gdb/dwarf2expr.c
index 71aff6a..04779a8 100644
--- a/gdb/dwarf2expr.c
+++ b/gdb/dwarf2expr.c
@@ -1471,14 +1471,6 @@ 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