forked from Imagelibrary/binutils-gdb
* 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.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user