public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tom@tromey.com>
To: gdb-patches@sourceware.org
Subject: [PATCH v3 130/206] Implement several Fortran operations
Date: Sat, 20 Feb 2021 13:14:53 -0700	[thread overview]
Message-ID: <20210220201609.838264-131-tom@tromey.com> (raw)
In-Reply-To: <20210220201609.838264-1-tom@tromey.com>

This implements several straightforward Fortran operations, primarily
by reusing existing template classes.

gdb/ChangeLog
2021-02-20  Tom Tromey  <tom@tromey.com>

	* f-lang.c (eval_op_f_abs, eval_op_f_mod, eval_op_f_ceil)
	(eval_op_f_floor, eval_op_f_modulo, eval_op_f_cmplx)
	(eval_op_f_kind): No longer static.  Add "opcode" parameter.
	(evaluate_subexp_f): Update.
	* f-exp.h: New file.
---
 gdb/ChangeLog |   8 ++++
 gdb/f-exp.h   | 101 ++++++++++++++++++++++++++++++++++++++++++++++++++
 gdb/f-lang.c  |  36 +++++++++++-------
 3 files changed, 131 insertions(+), 14 deletions(-)
 create mode 100644 gdb/f-exp.h

diff --git a/gdb/f-exp.h b/gdb/f-exp.h
new file mode 100644
index 00000000000..4b3fdd4a53e
--- /dev/null
+++ b/gdb/f-exp.h
@@ -0,0 +1,101 @@
+/* Definitions for Fortran expressions
+
+   Copyright (C) 2020 Free Software Foundation, Inc.
+
+   This file is part of GDB.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 3 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
+
+#ifndef FORTRAN_EXP_H
+#define FORTRAN_EXP_H
+
+#include "expop.h"
+
+extern struct value *eval_op_f_abs (struct type *expect_type,
+				    struct expression *exp,
+				    enum noside noside,
+				    enum exp_opcode opcode,
+				    struct value *arg1);
+extern struct value *eval_op_f_mod (struct type *expect_type,
+				    struct expression *exp,
+				    enum noside noside,
+				    enum exp_opcode opcode,
+				    struct value *arg1, struct value *arg2);
+extern struct value *eval_op_f_ceil (struct type *expect_type,
+				     struct expression *exp,
+				     enum noside noside,
+				     enum exp_opcode opcode,
+				     struct value *arg1);
+extern struct value *eval_op_f_floor (struct type *expect_type,
+				      struct expression *exp,
+				      enum noside noside,
+				      enum exp_opcode opcode,
+				      struct value *arg1);
+extern struct value *eval_op_f_modulo (struct type *expect_type,
+				       struct expression *exp,
+				       enum noside noside,
+				       enum exp_opcode opcode,
+				       struct value *arg1, struct value *arg2);
+extern struct value *eval_op_f_cmplx (struct type *expect_type,
+				      struct expression *exp,
+				      enum noside noside,
+				      enum exp_opcode opcode,
+				      struct value *arg1, struct value *arg2);
+extern struct value *eval_op_f_kind (struct type *expect_type,
+				     struct expression *exp,
+				     enum noside noside,
+				     enum exp_opcode opcode,
+				     struct value *arg1);
+
+namespace expr
+{
+
+using fortran_abs_operation = unop_operation<UNOP_ABS, eval_op_f_abs>;
+using fortran_ceil_operation = unop_operation<UNOP_FORTRAN_CEILING,
+					      eval_op_f_ceil>;
+using fortran_floor_operation = unop_operation<UNOP_FORTRAN_FLOOR,
+					       eval_op_f_floor>;
+using fortran_kind_operation = unop_operation<UNOP_FORTRAN_KIND,
+					      eval_op_f_kind>;
+
+using fortran_mod_operation = binop_operation<BINOP_MOD, eval_op_f_mod>;
+using fortran_modulo_operation = binop_operation<BINOP_FORTRAN_MODULO,
+						 eval_op_f_modulo>;
+
+/* The Fortran "complex" operation.  */
+class fortran_cmplx_operation
+  : public tuple_holding_operation<operation_up, operation_up>
+{
+public:
+
+  using tuple_holding_operation::tuple_holding_operation;
+
+  value *evaluate (struct type *expect_type,
+		   struct expression *exp,
+		   enum noside noside) override
+  {
+    value *arg1 = std::get<0> (m_storage)->evaluate (nullptr, exp, noside);
+    value *arg2 = std::get<1> (m_storage)->evaluate (value_type (arg1),
+						     exp, noside);
+    return eval_op_f_cmplx (expect_type, exp, noside, BINOP_FORTRAN_CMPLX,
+			    arg1, arg2);
+  }
+
+  enum exp_opcode opcode () const override
+  { return BINOP_FORTRAN_CMPLX; }
+};
+
+} /* namespace expr */
+
+#endif /* FORTRAN_EXP_H */
diff --git a/gdb/f-lang.c b/gdb/f-lang.c
index fea7eab5b46..89e5f4ea092 100644
--- a/gdb/f-lang.c
+++ b/gdb/f-lang.c
@@ -38,6 +38,7 @@
 #include "gdbarch.h"
 #include "gdbcmd.h"
 #include "f-array-walker.h"
+#include "f-exp.h"
 
 #include <math.h>
 
@@ -818,9 +819,10 @@ fortran_value_subarray (struct value *array, struct expression *exp,
 
 /* A helper function for UNOP_ABS.  */
 
-static struct value *
+struct value *
 eval_op_f_abs (struct type *expect_type, struct expression *exp,
 	       enum noside noside,
+	       enum exp_opcode opcode,
 	       struct value *arg1)
 {
   if (noside == EVAL_SKIP)
@@ -847,9 +849,10 @@ eval_op_f_abs (struct type *expect_type, struct expression *exp,
 
 /* A helper function for BINOP_MOD.  */
 
-static struct value *
+struct value *
 eval_op_f_mod (struct type *expect_type, struct expression *exp,
 	       enum noside noside,
+	       enum exp_opcode opcode,
 	       struct value *arg1, struct value *arg2)
 {
   if (noside == EVAL_SKIP)
@@ -885,9 +888,10 @@ eval_op_f_mod (struct type *expect_type, struct expression *exp,
 
 /* A helper function for UNOP_FORTRAN_CEILING.  */
 
-static struct value *
+struct value *
 eval_op_f_ceil (struct type *expect_type, struct expression *exp,
 		enum noside noside,
+		enum exp_opcode opcode,
 		struct value *arg1)
 {
   if (noside == EVAL_SKIP)
@@ -904,9 +908,10 @@ eval_op_f_ceil (struct type *expect_type, struct expression *exp,
 
 /* A helper function for UNOP_FORTRAN_FLOOR.  */
 
-static struct value *
+struct value *
 eval_op_f_floor (struct type *expect_type, struct expression *exp,
 		 enum noside noside,
+		 enum exp_opcode opcode,
 		 struct value *arg1)
 {
   if (noside == EVAL_SKIP)
@@ -923,9 +928,10 @@ eval_op_f_floor (struct type *expect_type, struct expression *exp,
 
 /* A helper function for BINOP_FORTRAN_MODULO.  */
 
-static struct value *
+struct value *
 eval_op_f_modulo (struct type *expect_type, struct expression *exp,
 		  enum noside noside,
+		  enum exp_opcode opcode,
 		  struct value *arg1, struct value *arg2)
 {
   if (noside == EVAL_SKIP)
@@ -964,9 +970,10 @@ eval_op_f_modulo (struct type *expect_type, struct expression *exp,
 
 /* A helper function for BINOP_FORTRAN_CMPLX.  */
 
-static struct value *
+struct value *
 eval_op_f_cmplx (struct type *expect_type, struct expression *exp,
 		 enum noside noside,
+		 enum exp_opcode opcode,
 		 struct value *arg1, struct value *arg2)
 {
   if (noside == EVAL_SKIP)
@@ -977,9 +984,10 @@ eval_op_f_cmplx (struct type *expect_type, struct expression *exp,
 
 /* A helper function for UNOP_FORTRAN_KIND.  */
 
-static struct value *
+struct value *
 eval_op_f_kind (struct type *expect_type, struct expression *exp,
 		enum noside noside,
+		enum exp_opcode opcode,
 		struct value *arg1)
 {
   struct type *type = value_type (arg1);
@@ -1039,20 +1047,20 @@ evaluate_subexp_f (struct type *expect_type, struct expression *exp,
 
     case UNOP_ABS:
       arg1 = evaluate_subexp (nullptr, exp, pos, noside);
-      return eval_op_f_abs (expect_type, exp, noside, arg1);
+      return eval_op_f_abs (expect_type, exp, noside, op, arg1);
 
     case BINOP_MOD:
       arg1 = evaluate_subexp (nullptr, exp, pos, noside);
       arg2 = evaluate_subexp (value_type (arg1), exp, pos, noside);
-      return eval_op_f_mod (expect_type, exp, noside, arg1, arg2);
+      return eval_op_f_mod (expect_type, exp, noside, op, arg1, arg2);
 
     case UNOP_FORTRAN_CEILING:
       arg1 = evaluate_subexp (nullptr, exp, pos, noside);
-      return eval_op_f_ceil (expect_type, exp, noside, arg1);
+      return eval_op_f_ceil (expect_type, exp, noside, op, arg1);
 
     case UNOP_FORTRAN_FLOOR:
       arg1 = evaluate_subexp (nullptr, exp, pos, noside);
-      return eval_op_f_floor (expect_type, exp, noside, arg1);
+      return eval_op_f_floor (expect_type, exp, noside, op, arg1);
 
     case UNOP_FORTRAN_ALLOCATED:
       {
@@ -1065,7 +1073,7 @@ evaluate_subexp_f (struct type *expect_type, struct expression *exp,
     case BINOP_FORTRAN_MODULO:
       arg1 = evaluate_subexp (nullptr, exp, pos, noside);
       arg2 = evaluate_subexp (value_type (arg1), exp, pos, noside);
-      return eval_op_f_modulo (expect_type, exp, noside, arg1, arg2);
+      return eval_op_f_modulo (expect_type, exp, noside, op, arg1, arg2);
 
     case FORTRAN_LBOUND:
     case FORTRAN_UBOUND:
@@ -1104,11 +1112,11 @@ evaluate_subexp_f (struct type *expect_type, struct expression *exp,
     case BINOP_FORTRAN_CMPLX:
       arg1 = evaluate_subexp (nullptr, exp, pos, noside);
       arg2 = evaluate_subexp (value_type (arg1), exp, pos, noside);
-      return eval_op_f_cmplx (expect_type, exp, noside, arg1, arg2);
+      return eval_op_f_cmplx (expect_type, exp, noside, op, arg1, arg2);
 
     case UNOP_FORTRAN_KIND:
       arg1 = evaluate_subexp (NULL, exp, pos, EVAL_AVOID_SIDE_EFFECTS);
-      return eval_op_f_kind (expect_type, exp, noside, arg1);
+      return eval_op_f_kind (expect_type, exp, noside, op, arg1);
 
     case OP_F77_UNDETERMINED_ARGLIST:
       /* Remember that in F77, functions, substring ops and array subscript
-- 
2.26.2


  parent reply	other threads:[~2021-02-20 20:16 UTC|newest]

Thread overview: 208+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-20 20:12 [PATCH v3 000/206] Refactor expressions Tom Tromey
2021-02-20 20:12 ` [PATCH v3 001/206] Split out eval_op_scope Tom Tromey
2021-02-20 20:12 ` [PATCH v3 002/206] Split out eval_op_var_entry_value Tom Tromey
2021-02-20 20:12 ` [PATCH v3 003/206] Split out eval_op_var_msym_value Tom Tromey
2021-02-20 20:12 ` [PATCH v3 004/206] Split out eval_op_func_static_var Tom Tromey
2021-02-20 20:12 ` [PATCH v3 005/206] Split out eval_op_register Tom Tromey
2021-02-20 20:12 ` [PATCH v3 006/206] Split out eval_op_string Tom Tromey
2021-02-20 20:12 ` [PATCH v3 007/206] Split out eval_op_objc_selector Tom Tromey
2021-02-20 20:12 ` [PATCH v3 008/206] Split out eval_op_concat Tom Tromey
2021-02-20 20:12 ` [PATCH v3 009/206] Split out eval_op_ternop Tom Tromey
2021-02-20 20:12 ` [PATCH v3 010/206] Split out eval_op_structop_struct Tom Tromey
2021-02-20 20:12 ` [PATCH v3 011/206] Split out eval_op_structop_ptr Tom Tromey
2021-02-20 20:12 ` [PATCH v3 012/206] Split out eval_op_member Tom Tromey
2021-02-20 20:12 ` [PATCH v3 013/206] Split out eval_op_add Tom Tromey
2021-02-20 20:12 ` [PATCH v3 014/206] Split out eval_op_sub Tom Tromey
2021-02-20 20:12 ` [PATCH v3 015/206] Split out eval_op_binary Tom Tromey
2021-02-20 20:12 ` [PATCH v3 016/206] Split out eval_op_subscript Tom Tromey
2021-02-20 20:13 ` [PATCH v3 017/206] Split out eval_op_equal Tom Tromey
2021-02-20 20:13 ` [PATCH v3 018/206] Split out eval_op_notequal Tom Tromey
2021-02-20 20:13 ` [PATCH v3 019/206] Split out eval_op_less Tom Tromey
2021-02-20 20:13 ` [PATCH v3 020/206] Split out eval_op_gtr Tom Tromey
2021-02-20 20:13 ` [PATCH v3 021/206] Split out eval_op_geq Tom Tromey
2021-02-20 20:13 ` [PATCH v3 022/206] Split out eval_op_leq Tom Tromey
2021-02-20 20:13 ` [PATCH v3 023/206] Split out eval_op_repeat Tom Tromey
2021-02-20 20:13 ` [PATCH v3 024/206] Split out eval_op_plus Tom Tromey
2021-02-20 20:13 ` [PATCH v3 025/206] Split out eval_op_neg Tom Tromey
2021-02-20 20:13 ` [PATCH v3 026/206] Split out eval_op_complement Tom Tromey
2021-02-20 20:13 ` [PATCH v3 027/206] Split out eval_op_lognot Tom Tromey
2021-02-20 20:13 ` [PATCH v3 028/206] Split out eval_op_ind Tom Tromey
2021-02-20 20:13 ` [PATCH v3 029/206] Split out eval_op_alignof Tom Tromey
2021-02-20 20:13 ` [PATCH v3 030/206] Split out eval_op_memval Tom Tromey
2021-02-20 20:13 ` [PATCH v3 031/206] Split out eval_op_preinc Tom Tromey
2021-02-20 20:13 ` [PATCH v3 032/206] Split out eval_op_predec Tom Tromey
2021-02-20 20:13 ` [PATCH v3 033/206] Split out eval_op_postinc Tom Tromey
2021-02-20 20:13 ` [PATCH v3 034/206] Split out eval_op_postdec Tom Tromey
2021-02-20 20:13 ` [PATCH v3 035/206] Split out eval_op_type Tom Tromey
2021-02-20 20:13 ` [PATCH v3 036/206] Split out eval_op_f_abs Tom Tromey
2021-02-20 20:13 ` [PATCH v3 037/206] Split out eval_op_f_mod Tom Tromey
2021-02-20 20:13 ` [PATCH v3 038/206] Split out eval_op_f_ceil Tom Tromey
2021-02-20 20:13 ` [PATCH v3 039/206] Split out eval_op_f_floor Tom Tromey
2021-02-20 20:13 ` [PATCH v3 040/206] Split out eval_op_f_modulo Tom Tromey
2021-02-20 20:13 ` [PATCH v3 041/206] Split out eval_op_f_cmplx Tom Tromey
2021-02-20 20:13 ` [PATCH v3 042/206] Split out eval_op_f_kind Tom Tromey
2021-02-20 20:13 ` [PATCH v3 043/206] Split ot fortran_require_array Tom Tromey
2021-02-20 20:13 ` [PATCH v3 044/206] Split out eval_op_f_allocated Tom Tromey
2021-02-20 20:13 ` [PATCH v3 045/206] Change parameters to rust_range Tom Tromey
2021-02-20 20:13 ` [PATCH v3 046/206] Change parameters to rust_subscript Tom Tromey
2021-02-20 20:13 ` [PATCH v3 047/206] Split out eval_op_rust_ind Tom Tromey
2021-02-20 20:13 ` [PATCH v3 048/206] Split out eval_op_rust_complement Tom Tromey
2021-02-20 20:13 ` [PATCH v3 049/206] Split out eval_op_rust_array Tom Tromey
2021-02-20 20:13 ` [PATCH v3 050/206] Split out eval_op_rust_struct_anon Tom Tromey
2021-02-20 20:13 ` [PATCH v3 051/206] Split out eval_op_rust_structop Tom Tromey
2021-02-20 20:13 ` [PATCH v3 052/206] Split helper functions Tom Tromey
2021-02-20 20:13 ` [PATCH v3 053/206] Split out eval_op_m2_high Tom Tromey
2021-02-20 20:13 ` [PATCH v3 054/206] Split out eval_op_m2_subscript Tom Tromey
2021-02-20 20:13 ` [PATCH v3 055/206] Split out eval_binop_assign_modify Tom Tromey
2021-02-20 20:13 ` [PATCH v3 056/206] Split out eval_op_objc_msgcall Tom Tromey
2021-02-20 20:13 ` [PATCH v3 057/206] Split out eval_opencl_assign Tom Tromey
2021-02-20 20:13 ` [PATCH v3 058/206] Split out eval_ternop_in_range Tom Tromey
2021-02-20 20:13 ` [PATCH v3 059/206] Split out ada_unop_neg Tom Tromey
2021-02-20 20:13 ` [PATCH v3 060/206] Split out ada_unop_in_range Tom Tromey
2021-02-20 20:13 ` [PATCH v3 061/206] Split out ada_atr_tag Tom Tromey
2021-02-20 20:13 ` [PATCH v3 062/206] Split out ada_atr_size Tom Tromey
2021-02-20 20:13 ` [PATCH v3 063/206] Split out ada_abs Tom Tromey
2021-02-20 20:13 ` [PATCH v3 064/206] Split out ada_mult_binop Tom Tromey
2021-02-20 20:13 ` [PATCH v3 065/206] Split out ada_equal_binop Tom Tromey
2021-02-20 20:13 ` [PATCH v3 066/206] Split out ada_ternop_slice Tom Tromey
2021-02-20 20:13 ` [PATCH v3 067/206] Split out ada_binop_in_bounds Tom Tromey
2021-02-20 20:13 ` [PATCH v3 068/206] Split out ada_unop_atr Tom Tromey
2021-02-20 20:13 ` [PATCH v3 069/206] Split out ada_binop_minmax Tom Tromey
2021-02-20 20:13 ` [PATCH v3 070/206] Change value_val_atr to ada_val_atr Tom Tromey
2021-02-20 20:13 ` [PATCH v3 071/206] Split out ada_binop_exp Tom Tromey
2021-02-20 20:13 ` [PATCH v3 072/206] Split out eval_multi_subscript Tom Tromey
2021-02-20 20:13 ` [PATCH v3 073/206] Split gen_expr_binop_rest Tom Tromey
2021-02-20 20:13 ` [PATCH v3 074/206] Introduce class operation Tom Tromey
2021-02-20 20:13 ` [PATCH v3 075/206] Implement dumping Tom Tromey
2021-02-20 20:13 ` [PATCH v3 076/206] Add two agent expression helper functions Tom Tromey
2021-02-20 20:14 ` [PATCH v3 077/206] Introduce float_const_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 078/206] Introduce scope_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 079/206] Introduce long_const_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 080/206] Introduce var_msym_value_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 081/206] Introduce var_entry_value_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 082/206] Introduce func_static_var_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 083/206] Introduce last_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 084/206] Introduce register_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 085/206] Introduce bool_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 086/206] Introduce internalvar_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 087/206] Introduce string_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 088/206] Introduce ternop_slice_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 089/206] Introduce ternop_cond_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 090/206] Add c-exp.h and c_string_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 091/206] Introduce objc_nsstring_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 092/206] Introduce objc_selector_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 093/206] Introduce complex_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 094/206] Introduce structop_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 095/206] Introduce structop_ptr_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 096/206] Introduce structop_member_operation and structop_mptr_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 097/206] Introduce concat_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 098/206] Introduce add_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 099/206] Introduce sub_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 100/206] Introduce binop_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 101/206] Introduce subscript_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 102/206] Implement binary comparison operations Tom Tromey
2021-02-20 20:14 ` [PATCH v3 103/206] Introduce repeat_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 104/206] Introduce comma_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 105/206] Implement some unary operations Tom Tromey
2021-02-20 20:14 ` [PATCH v3 106/206] Implement unary increment and decrement operations Tom Tromey
2021-02-20 20:14 ` [PATCH v3 107/206] Introduce unop_ind_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 108/206] Introduce type_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 109/206] Introduce typeof_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 110/206] Introduce decltype_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 111/206] Introduce typeid_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 112/206] Introduce unop_addr_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 113/206] Introduce unop_sizeof_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 114/206] Introduce unop_alignof_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 115/206] Implement UNOP_MEMVAL and UNOP_MEMVAL_TYPE Tom Tromey
2021-02-20 20:14 ` [PATCH v3 116/206] Introduce op_this_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 117/206] Introduce type_instance_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 118/206] Introduce assign_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 119/206] Introduce assign_modify_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 120/206] Introduce unop_cast_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 121/206] Introduce unop_cast_type_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 122/206] Implement C++ cast operations Tom Tromey
2021-02-20 20:14 ` [PATCH v3 123/206] Introduce var_value_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 124/206] Introduce objc_msgcall_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 125/206] Introduce multi_subscript_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 126/206] Introduce ada_wrapped_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 127/206] Introduce ada_string_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 128/206] Introduce ada_qual_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 129/206] Introduce ada_ternop_range_operation Tom Tromey
2021-02-20 20:14 ` Tom Tromey [this message]
2021-02-20 20:14 ` [PATCH v3 131/206] Implement some Rust operations Tom Tromey
2021-02-20 20:14 ` [PATCH v3 132/206] Introduce rust_unop_ind_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 133/206] Introduce rust_subscript_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 134/206] Introduce rust_range_operation Tom Tromey
2021-02-20 20:14 ` [PATCH v3 135/206] Implement Rust field operations Tom Tromey
2021-02-20 20:14 ` [PATCH v3 136/206] Introduce rust_aggregate_operation Tom Tromey
2021-02-20 20:15 ` [PATCH v3 137/206] Add two simple Modula-2 operations Tom Tromey
2021-02-20 20:15 ` [PATCH v3 138/206] Implement the "&&" and "||" operators Tom Tromey
2021-02-20 20:15 ` [PATCH v3 139/206] Implement some Ada unary operations Tom Tromey
2021-02-20 20:15 ` [PATCH v3 140/206] Introduce ada_unop_range_operation Tom Tromey
2021-02-20 20:15 ` [PATCH v3 141/206] Introduce class adl_func_operation Tom Tromey
2021-02-20 20:15 ` [PATCH v3 142/206] Introduce array_operation Tom Tromey
2021-02-20 20:15 ` [PATCH v3 143/206] Implement function call operations Tom Tromey
2021-02-20 20:15 ` [PATCH v3 144/206] Implement Rust funcall operation Tom Tromey
2021-02-20 20:15 ` [PATCH v3 145/206] Introduce fortran_undetermined Tom Tromey
2021-02-20 20:15 ` [PATCH v3 146/206] Introduce classes for Fortran bound intrinsics Tom Tromey
2021-02-20 20:15 ` [PATCH v3 147/206] Implement fortran_allocated_operation Tom Tromey
2021-02-20 20:15 ` [PATCH v3 148/206] Introduce opencl_cast_type_operation Tom Tromey
2021-02-20 20:15 ` [PATCH v3 149/206] Implement OpenCL binary operations Tom Tromey
2021-02-20 20:15 ` [PATCH v3 150/206] Introduce opencl_notequal_operation Tom Tromey
2021-02-20 20:15 ` [PATCH v3 151/206] Introduce opencl_structop_operation Tom Tromey
2021-02-20 20:15 ` [PATCH v3 152/206] Implement OpenCL logical binary operations Tom Tromey
2021-02-20 20:15 ` [PATCH v3 153/206] Implement OpenCL ternary conditional operator Tom Tromey
2021-02-20 20:15 ` [PATCH v3 154/206] Split out some Ada type resolution code Tom Tromey
2021-02-20 20:15 ` [PATCH v3 155/206] Introduce ada_binop_addsub_operation Tom Tromey
2021-02-20 20:15 ` [PATCH v3 156/206] Implement Ada multiplicative operators Tom Tromey
2021-02-20 20:15 ` [PATCH v3 157/206] Implement Ada equality operators Tom Tromey
2021-02-20 20:15 ` [PATCH v3 158/206] Introduce ada_bitwise_operation Tom Tromey
2021-02-20 20:15 ` [PATCH v3 159/206] Introduce ada_ternop_slice Tom Tromey
2021-02-20 20:15 ` [PATCH v3 160/206] Introduce ada_binop_in_bounds Tom Tromey
2021-02-20 20:15 ` [PATCH v3 161/206] Implement some Ada OP_ATR_ operations Tom Tromey
2021-02-20 20:15 ` [PATCH v3 162/206] Introduce ada_var_value_operation Tom Tromey
2021-02-20 20:15 ` [PATCH v3 163/206] Introduce ada_var_msym_value_operation Tom Tromey
2021-02-20 20:15 ` [PATCH v3 164/206] Implement Ada min and max operations Tom Tromey
2021-02-20 20:15 ` [PATCH v3 165/206] Refactor value_pos_atr Tom Tromey
2021-02-20 20:15 ` [PATCH v3 166/206] Introduce ada_pos_operation Tom Tromey
2021-02-20 20:15 ` [PATCH v3 167/206] Introduce ada_atr_val_operation Tom Tromey
2021-02-20 20:15 ` [PATCH v3 168/206] Introduce ada_binop_exp_operation Tom Tromey
2021-02-20 20:15 ` [PATCH v3 169/206] Introduce ada_unop_ind_operation Tom Tromey
2021-02-20 20:15 ` [PATCH v3 170/206] Introduce ada_structop_operation Tom Tromey
2021-02-20 20:15 ` [PATCH v3 171/206] Implement function calls for Ada Tom Tromey
2021-02-20 20:15 ` [PATCH v3 172/206] Implement Ada resolution Tom Tromey
2021-02-20 20:15 ` [PATCH v3 173/206] Implement Ada assignment Tom Tromey
2021-02-20 20:15 ` [PATCH v3 174/206] Remove use of op_string Tom Tromey
2021-02-20 20:15 ` [PATCH v3 175/206] Add an expr::operation_up to struct expression Tom Tromey
2021-02-20 20:15 ` [PATCH v3 176/206] Add completion for operations Tom Tromey
2021-02-20 20:15 ` [PATCH v3 177/206] Add operation-related methods to parser_state Tom Tromey
2021-02-20 20:15 ` [PATCH v3 178/206] Convert dtrace probes to use operations Tom Tromey
2021-02-20 20:15 ` [PATCH v3 179/206] Convert stap probes to create operations Tom Tromey
2021-02-20 20:15 ` [PATCH v3 180/206] Convert rust-exp.y to use operations Tom Tromey
2021-02-20 20:15 ` [PATCH v3 181/206] Convert c-exp.y " Tom Tromey
2021-02-20 20:15 ` [PATCH v3 182/206] Convert go-exp.y " Tom Tromey
2021-02-20 20:15 ` [PATCH v3 183/206] Convert d-exp.y " Tom Tromey
2021-02-20 20:15 ` [PATCH v3 184/206] Convert p-exp.y " Tom Tromey
2021-02-20 20:15 ` [PATCH v3 185/206] Convert m2-exp.y " Tom Tromey
2021-02-20 20:15 ` [PATCH v3 186/206] Convert f-exp.y " Tom Tromey
2021-02-20 20:15 ` [PATCH v3 187/206] Convert ada-exp.y " Tom Tromey
2021-02-20 20:15 ` [PATCH v3 188/206] Remove now-unused Rust evaluator code Tom Tromey
2021-02-20 20:15 ` [PATCH v3 189/206] Remove now-unused Fortran " Tom Tromey
2021-02-20 20:15 ` [PATCH v3 190/206] Remove now-unused Modula-2 " Tom Tromey
2021-02-20 20:15 ` [PATCH v3 191/206] Remove now-unused Ada " Tom Tromey
2021-02-20 20:15 ` [PATCH v3 192/206] Remove now-unused C " Tom Tromey
2021-02-20 20:15 ` [PATCH v3 193/206] Remove union exp_element Tom Tromey
2021-02-20 20:15 ` [PATCH v3 194/206] Remove two Ada opcodes Tom Tromey
2021-02-20 20:15 ` [PATCH v3 195/206] Remove unused Modula-2 opcodes Tom Tromey
2021-02-20 20:15 ` [PATCH v3 196/206] Remove unused Ada opcodes Tom Tromey
2021-02-20 20:16 ` [PATCH v3 197/206] Remove OP_EXTENDED0 Tom Tromey
2021-02-20 20:16 ` [PATCH v3 198/206] Remove OP_UNUSED_LAST Tom Tromey
2021-02-20 20:16 ` [PATCH v3 199/206] Remove BINOP_END Tom Tromey
2021-02-20 20:16 ` [PATCH v3 200/206] Inline expression constructor Tom Tromey
2021-02-20 20:16 ` [PATCH v3 201/206] Inline expr_builder methods Tom Tromey
2021-02-20 20:16 ` [PATCH v3 202/206] Merge namespace scopes in eval.c Tom Tromey
2021-02-20 20:16 ` [PATCH v3 203/206] Remove EVAL_SKIP Tom Tromey
2021-02-20 20:16 ` [PATCH v3 204/206] Change exp_uses_objfile to return bool Tom Tromey
2021-02-20 20:16 ` [PATCH v3 205/206] Use bound_minimal_symbol in var_msym_value_operation Tom Tromey
2021-02-20 20:16 ` [PATCH v3 206/206] Remove some null checks Tom Tromey
2021-03-02 18:45 ` [PATCH v3 000/206] Refactor expressions Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210220201609.838264-131-tom@tromey.com \
    --to=tom@tromey.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).