aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-param.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2025-01-10 08:42:00 +0100
committerJan Beulich <jbeulich@suse.com>2025-01-10 08:42:00 +0100
commit044dd6345f7b275db1ed3b2b9bea7a3e46b1ea09 (patch)
treeab37d865cf05ccf47e3c65708222f3fdd44438f3 /gdb/python/py-param.c
parent6f04937e1d7db190ca96ec08d8aeb25f0ec6e994 (diff)
downloadbinutils-044dd6345f7b275db1ed3b2b9bea7a3e46b1ea09.zip
binutils-044dd6345f7b275db1ed3b2b9bea7a3e46b1ea09.tar.gz
binutils-044dd6345f7b275db1ed3b2b9bea7a3e46b1ea09.tar.bz2
gas: make deferred expression evaluation generally latch dot
Deferring expression evaluation is often necessary. However, the value current_location() records typically is intended to represent the location at the point of use of the expression, with the exception being .eqv (or its == equivalent). Change how expr_defer behaves in this regard, and introduce a special mode just for pseudo_set() to use. Introduce a predicate to cover both "deferred" modes, and use it everywhere except in current_location(), where only the new mode wants checking for.
Diffstat (limited to 'gdb/python/py-param.c')
0 files changed, 0 insertions, 0 deletions