diff options
author | Daniel Jacobowitz <drow@false.org> | 2003-02-28 20:03:18 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2003-02-28 20:03:18 +0000 |
commit | a55cc764aed98017f982ab5673d4028b74e53a2b (patch) | |
tree | 1712f5badf1ab72f9327bda2664772dddbda3c07 /gdb/ax-gdb.c | |
parent | 502128028b76310242ae0b868027d932308946df (diff) | |
download | gdb-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/ax-gdb.c')
-rw-r--r-- | gdb/ax-gdb.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ax-gdb.c b/gdb/ax-gdb.c index e5f3048..2536369 100644 --- a/gdb/ax-gdb.c +++ b/gdb/ax-gdb.c @@ -618,6 +618,11 @@ gen_var_ref (struct agent_expr *ax, struct axs_value *value, struct symbol *var) } break; + case LOC_COMPUTED: + case LOC_COMPUTED_ARG: + (*SYMBOL_LOCATION_FUNCS (var)->tracepoint_var_ref) (var, ax, value); + break; + case LOC_OPTIMIZED_OUT: error ("The variable `%s' has been optimized out.", SYMBOL_PRINT_NAME (var)); |