aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2expr.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-02-28 20:03:18 +0000
committerDaniel Jacobowitz <drow@false.org>2003-02-28 20:03:18 +0000
commita55cc764aed98017f982ab5673d4028b74e53a2b (patch)
tree1712f5badf1ab72f9327bda2664772dddbda3c07 /gdb/dwarf2expr.c
parent502128028b76310242ae0b868027d932308946df (diff)
downloadgdb-a55cc764aed98017f982ab5673d4028b74e53a2b.zip
gdb-a55cc764aed98017f982ab5673d4028b74e53a2b.tar.gz
gdb-a55cc764aed98017f982ab5673d4028b74e53a2b.tar.bz2
* 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 02e246f..df6fc73 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;