aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.h
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2009-06-17 18:40:53 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2009-06-17 18:40:53 +0000
commit505e835dc07557a142853b0f18513b876f7b7625 (patch)
tree9fd253e9a536b82d8aa3eb8e386d42045a30abc9 /gdb/symtab.h
parent55f960e1d2e58215a0c274e8d30e6036c96a2959 (diff)
downloadgdb-505e835dc07557a142853b0f18513b876f7b7625.zip
gdb-505e835dc07557a142853b0f18513b876f7b7625.tar.gz
gdb-505e835dc07557a142853b0f18513b876f7b7625.tar.bz2
* ax-gdb.c (gen_bitfield_ref): Add EXP argument, use expression
architecture instead of current_gdbarch. (gen_struct_ref): Add EXP argument, pass to get_bitfield_ref. (gen_expr): Pass expression to get_struct_ref. * symtab.h (struct symbol_ops): Add GDBARCH parameter to tracepoint_var_ref callback. * ax-gdb.c (gen_var_ref): Pass architecture to tracepoint_var_ref symbol operation callback. * dwarf2loc.c (dwarf2_tracepoint_var_ref): Add GDBARCH parameter. Use it instead of current_gdbarch. (locexpr_tracepoint_var_ref): Add GDBARCH parameter. Pass it to dwarf2_tracepoint_var_ref. (loclist_tracepoint_var_ref): Likewise.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r--gdb/symtab.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 18304b3..b126c16 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -527,8 +527,8 @@ struct symbol_computed_ops
the caller will generate the right code in the process of
treating this as an lvalue or rvalue. */
- void (*tracepoint_var_ref) (struct symbol * symbol, struct agent_expr * ax,
- struct axs_value * value);
+ void (*tracepoint_var_ref) (struct symbol *symbol, struct gdbarch *gdbarch,
+ struct agent_expr *ax, struct axs_value *value);
};
/* Functions used with LOC_REGISTER and LOC_REGPARM_ADDR. */