summaryrefslogtreecommitdiff
path: root/gdb/dwarf2expr.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2003-02-28 20:03:18 +0000
committerDaniel Jacobowitz <dan@debian.org>2003-02-28 20:03:18 +0000
commite8d91888b3b455fd94b590d43cbc4c97c6002018 (patch)
tree0a781ebdc342f3f8dabf97da4279117405ccca64 /gdb/dwarf2expr.c
parent498ded9ab2fc770c02287e306c3d88573af1e4c7 (diff)
downloadgdb-e8d91888b3b455fd94b590d43cbc4c97c6002018.tar.gz
* Makefile.in (dwarf2loc.o): Update dependencies.
* ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG. * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static. * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes. * dwarf2loc.c: Include "ax.h" and "ax-gdb.h". (locexpr_tracepoint_var_ref): New function. (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref.
Diffstat (limited to 'gdb/dwarf2expr.c')
-rw-r--r--gdb/dwarf2expr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/dwarf2expr.c b/gdb/dwarf2expr.c
index 02e246f6d58..df6fc73ceb7 100644
--- a/gdb/dwarf2expr.c
+++ b/gdb/dwarf2expr.c
@@ -115,7 +115,7 @@ dwarf_expr_eval (struct dwarf_expr_context *ctx, unsigned char *addr,
by R, and return the new value of BUF. Verify that it doesn't extend
past BUF_END. */
-static unsigned char *
+unsigned char *
read_uleb128 (unsigned char *buf, unsigned char *buf_end, ULONGEST * r)
{
unsigned shift = 0;
@@ -141,7 +141,7 @@ read_uleb128 (unsigned char *buf, unsigned char *buf_end, ULONGEST * r)
by R, and return the new value of BUF. Verify that it doesn't extend
past BUF_END. */
-static unsigned char *
+unsigned char *
read_sleb128 (unsigned char *buf, unsigned char *buf_end, LONGEST * r)
{
unsigned shift = 0;