* ax-gdb.c (gen_bitfield_ref): Add EXP argument, use expression
authorUlrich Weigand <uweigand@de.ibm.com>
Wed, 17 Jun 2009 18:40:53 +0000 (18:40 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Wed, 17 Jun 2009 18:40:53 +0000 (18:40 +0000)
commit505e835dc07557a142853b0f18513b876f7b7625
tree9fd253e9a536b82d8aa3eb8e386d42045a30abc9
parent55f960e1d2e58215a0c274e8d30e6036c96a2959
* 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.
gdb/ChangeLog
gdb/ax-gdb.c
gdb/dwarf2loc.c
gdb/symtab.h