aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.arch/amd64-entry-value-inline.exp
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2017-07-14 12:47:39 +0200
committerSimon Marchi <simon.marchi@ericsson.com>2017-07-14 12:47:39 +0200
commit6661ad487334212e043ab584030f533da358ecf2 (patch)
treeec8890f6db5012b65622b435ac10d7b599f54675 /gdb/testsuite/gdb.arch/amd64-entry-value-inline.exp
parentee77ed019f9993ed50613a687bd2a19241c98aeb (diff)
downloadgdb-6661ad487334212e043ab584030f533da358ecf2.zip
gdb-6661ad487334212e043ab584030f533da358ecf2.tar.gz
gdb-6661ad487334212e043ab584030f533da358ecf2.tar.bz2
ax-gdb: Use ax->gdbarch instead of exp->gdbarch, remove unused parameters
In many ax generation functions, the "expression *exp" parameter is only used to access the gdbarch. The same value can be found in the "agent_expr *ax" parameter, which needs to be passed in any case. By using ax->gdbarch instead of exp->gdbarch, we can avoid passing exp in many of these functions. gdb/ChangeLog: * ax-gdb.c (gen_usual_unary): Remove exp parameter, get gdbarch from ax, update calls. (gen_usual_arithmetic): Likewise. (gen_integral_promotions): Likewise. (gen_bitfield_ref): Likewise. (gen_primitive_field): Likewise. (gen_struct_ref_recursive): Likewise. (gen_struct_ref): Likewise. (gen_maybe_namespace_elt): Likewise. (gen_struct_elt_for_reference): Likewise. (gen_namespace_elt): Likewise. (gen_aggregate_elt_ref): Likewise. (gen_expr): Get gdbarch from ax, update calls. (gen_expr_binop_rest): Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.arch/amd64-entry-value-inline.exp')
0 files changed, 0 insertions, 0 deletions