diff options
author | Stan Shebs <shebs@codesourcery.com> | 2009-12-24 00:40:49 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 2009-12-24 00:40:49 +0000 |
commit | 0936ad1d22457136c65383681c475e5a0e30db14 (patch) | |
tree | bad643a7c7c251133e0e149127bd8776ce9f281e /gdb/ax-gdb.h | |
parent | 81e9e6e6ea739f403dd0a845e3613b3edc091109 (diff) | |
download | gdb-0936ad1d22457136c65383681c475e5a0e30db14.zip gdb-0936ad1d22457136c65383681c475e5a0e30db14.tar.gz gdb-0936ad1d22457136c65383681c475e5a0e30db14.tar.bz2 |
2009-12-23 Stan Shebs <stan@codesourcery.com>
* ax-gdb.h (gen_trace_for_var): Declare.
* ax-gdb.c (gen_trace_for_var): New function.
* dwarf2loc.c (dwarf_expr_frame_base_1): New function, split from...
(dwarf_expr_frame_base): ...here.
(dwarf2_tracepoint_var_ref): Add computed location case.
* tracepoint.c (collect_symbol): Add scope arg and LOC_COMPUTED
case.
(add_local_symbols): Update call to collect_symbol.
(encode_actions): Ditto.
Diffstat (limited to 'gdb/ax-gdb.h')
-rw-r--r-- | gdb/ax-gdb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/ax-gdb.h b/gdb/ax-gdb.h index 5d03c18..2366e01 100644 --- a/gdb/ax-gdb.h +++ b/gdb/ax-gdb.h @@ -99,6 +99,8 @@ struct axs_value function to discover which registers the expression uses. */ extern struct agent_expr *gen_trace_for_expr (CORE_ADDR, struct expression *); +extern struct agent_expr *gen_trace_for_var (CORE_ADDR, struct symbol *); + extern struct agent_expr *gen_eval_for_expr (CORE_ADDR, struct expression *); #endif /* AX_GDB_H */ |