diff options
author | Tom Tromey <tom@tromey.com> | 2021-03-08 07:27:57 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2021-03-08 07:28:00 -0700 |
commit | 7cdcdd02b38fde4c2bab83c70b65e81cb879f6d7 (patch) | |
tree | e48e8e36dd3df7c2dc63cbb2dce0c285d9359b63 /gdb/f-lang.c | |
parent | d9790e22f44ecada1d0fd53cc82227677d1222cb (diff) | |
download | binutils-7cdcdd02b38fde4c2bab83c70b65e81cb879f6d7.zip binutils-7cdcdd02b38fde4c2bab83c70b65e81cb879f6d7.tar.gz binutils-7cdcdd02b38fde4c2bab83c70b65e81cb879f6d7.tar.bz2 |
Split out eval_op_binary
This splits out a new eval_op_binary helper function. This function
can handle several different binary operations:
case BINOP_EXP:
case BINOP_MUL:
case BINOP_DIV:
case BINOP_INTDIV:
case BINOP_REM:
case BINOP_MOD:
case BINOP_LSH:
case BINOP_RSH:
case BINOP_BITWISE_AND:
case BINOP_BITWISE_IOR:
case BINOP_BITWISE_XOR:
gdb/ChangeLog
2021-03-08 Tom Tromey <tom@tromey.com>
* eval.c (eval_op_binary): New function.
(evaluate_subexp_standard): Use it.
Diffstat (limited to 'gdb/f-lang.c')
0 files changed, 0 insertions, 0 deletions