aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli-out.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2023-05-19 09:16:29 +0200
committerJan Beulich <jbeulich@suse.com>2023-05-19 09:16:29 +0200
commit6f5ee7a3e9239cf82142d7abd4b2ad687076cfc1 (patch)
treebf706ecf5efd7dbbfc0907fce21f4cdc45aa6932 /gdb/cli-out.c
parent762acf217c4013bed5a4cc679e4bac78d13ce23a (diff)
downloadbinutils-6f5ee7a3e9239cf82142d7abd4b2ad687076cfc1.zip
binutils-6f5ee7a3e9239cf82142d7abd4b2ad687076cfc1.tar.gz
binutils-6f5ee7a3e9239cf82142d7abd4b2ad687076cfc1.tar.bz2
gas: invoke md_optimize_expr() also for unary expressions
Give backends a chance to see these, just as they can see binary ones. Most of those which use this hook already cope with NULL being passed for the left operand (typically because of checking the operator first). Adjust the two which don't. Take the opportunity and also document the hook.
Diffstat (limited to 'gdb/cli-out.c')
0 files changed, 0 insertions, 0 deletions