diff options
author | Stan Shebs <shebs@codesourcery.com> | 2010-04-20 18:52:59 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 2010-04-20 18:52:59 +0000 |
commit | 08922a10505b89e293906fbbd94d403b29f7aed9 (patch) | |
tree | 3663dcc9b7fb391ff59f67c19ec9092f528f7114 /gdb/ax-gdb.c | |
parent | 2dc7f7b33b425c6c19078f29e4e8c9e0ddca41e6 (diff) | |
download | gdb-08922a10505b89e293906fbbd94d403b29f7aed9.zip gdb-08922a10505b89e293906fbbd94d403b29f7aed9.tar.gz gdb-08922a10505b89e293906fbbd94d403b29f7aed9.tar.bz2 |
2010-04-20 Stan Shebs <stan@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
* dwarf2loc.c (struct axs_var_loc): New struct.
(dwarf2_tracepoint_var_loc): New function.
(dwarf2_tracepoint_var_access): New function.
(dwarf2_tracepoint_var_ref): Use dwarf2_tracepoint_var_loc, deal
with DW_OP_piece.
(locexpr_describe_location_piece): New function.
(locexpr_describe_location_1): New function.
(locexpr_describe_location): Call it, update signature.
(loclist_describe_location): Rewrite to loop over locations,
update signature.
* symtab.h (struct symbol_computed_ops): Add address to
describe_location arguments, return void.
* printcmd.c (address_info): Get context PC, pass to computed
location description.
* tracepoint.c (scope_info): Ditto.
* ax-gdb.c (trace_kludge): Export.
Diffstat (limited to 'gdb/ax-gdb.c')
-rw-r--r-- | gdb/ax-gdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ax-gdb.c b/gdb/ax-gdb.c index e79fe38..1d4ec51 100644 --- a/gdb/ax-gdb.c +++ b/gdb/ax-gdb.c @@ -329,7 +329,7 @@ maybe_const_expr (union exp_element **pc) Setting the flag trace_kludge to non-zero enables the code that emits the trace bytecodes at the appropriate points. */ -static int trace_kludge; +int trace_kludge; /* Scan for all static fields in the given class, including any base classes, and generate tracing bytecodes for each. */ |