Implement binary comparison operations
authorTom Tromey <tom@tromey.com>
Mon, 8 Mar 2021 14:27:57 +0000 (07:27 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 8 Mar 2021 14:28:20 +0000 (07:28 -0700)
commit46916f2bcbaf4532aab9fecb2344330710129ffa
treebb6f37c488243ab4adeccf3a814891584f956910
parent224d6424bab021a0a8e16f07d52f8af5e153e91f
Implement binary comparison operations

This implements the binary comparison operations via a template class.

gdb/ChangeLog
2021-03-08  Tom Tromey  <tom@tromey.com>

* expop.h (class comparison_operation): New.
(equal_operation, notequal_operation, less_operation)
(gtr_operation, geq_operation, leq_operation): New typedefs.
* eval.c (eval_op_equal, eval_op_notequal, eval_op_less)
(eval_op_gtr, eval_op_geq, eval_op_leq): No longer static.
gdb/ChangeLog
gdb/eval.c
gdb/expop.h
This page took 0.025319 seconds and 4 git commands to generate.