From: Tom Tromey <tom@tromey.com>
To: gdb-patches@sourceware.org
Subject: [PATCH 200/203] Remove EVAL_SKIP
Date: Fri, 1 Jan 2021 14:47:20 -0700 [thread overview]
Message-ID: <20210101214723.1784144-201-tom@tromey.com> (raw)
In-Reply-To: <20210101214723.1784144-1-tom@tromey.com>
EVAL_SKIP was needed in the old expression implementation due to its
linearized tree structure. This is not needed in the new
implementation, because it is trivial to not evaluate a subexpression.
This patch removes the last vestiges of EVAL_SKIP.
gdb/ChangeLog
2021-01-01 Tom Tromey <tom@tromey.com>
* value.h (eval_skip_value): Don't declare.
* opencl-lang.c (eval_opencl_assign): Update.
* m2-lang.c (eval_op_m2_high, eval_op_m2_subscript): Update.
* 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): Remove.
* expression.h (enum noside) <EVAL_SKIP>: Remove.
* expop.h (typeof_operation::evaluate)
(decltype_operation::evaluate, unop_addr_operation::evaluate)
(unop_sizeof_operation::evaluate, assign_operation::evaluate)
(cxx_cast_operation::evaluate): Update.
* eval.c (eval_skip_value): Remove.
(eval_op_scope, eval_op_var_entry_value)
(eval_op_func_static_var, eval_op_string, eval_op_objc_selector)
(eval_op_concat, eval_op_ternop, eval_op_structop_struct)
(eval_op_structop_ptr, eval_op_member, eval_op_add, eval_op_sub)
(eval_op_binary, eval_op_subscript, eval_op_equal)
(eval_op_notequal, eval_op_less, eval_op_gtr, eval_op_geq)
(eval_op_leq, eval_op_repeat, eval_op_plus, eval_op_neg)
(eval_op_complement, eval_op_lognot, eval_op_ind)
(eval_op_memval, eval_op_preinc, eval_op_predec)
(eval_op_postinc, eval_op_postdec, eval_op_type)
(eval_binop_assign_modify, eval_op_objc_msgcall)
(eval_multi_subscript, logical_and_operation::evaluate)
(logical_or_operation::evaluate, array_operation::evaluate)
(operation::evaluate_for_cast)
(var_msym_value_operation::evaluate_for_cast)
(var_value_operation::evaluate_for_cast): Update.
* c-lang.c (c_string_operation::evaluate): Update.
* c-exp.h (objc_nsstring_operation::evaluate)
(objc_selector_operation::evaluate): Update.
* ada-lang.c (ada_assign_operation::evaluate)
(eval_ternop_in_range, ada_unop_neg, ada_unop_in_range)
(ada_atr_size): Update.
---
gdb/ChangeLog | 36 ++++++++++++++++
gdb/ada-lang.c | 16 ++-----
gdb/c-exp.h | 4 --
gdb/c-lang.c | 21 ++--------
gdb/eval.c | 103 ++++------------------------------------------
gdb/expop.h | 19 ++-------
gdb/expression.h | 3 --
gdb/f-lang.c | 12 ------
gdb/m2-lang.c | 4 +-
gdb/opencl-lang.c | 2 +-
gdb/value.h | 2 -
11 files changed, 57 insertions(+), 165 deletions(-)
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index 4331a063cb0..4ab9172cc81 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -9509,7 +9509,7 @@ ada_assign_operation::evaluate (struct type *expect_type,
if (VALUE_LVAL (arg1) == lval_internalvar)
type = NULL;
value *arg2 = std::get<1> (m_storage)->evaluate (type, exp, noside);
- if (noside == EVAL_SKIP || noside == EVAL_AVOID_SIDE_EFFECTS)
+ if (noside == EVAL_AVOID_SIDE_EFFECTS)
return arg1;
if (VALUE_LVAL (arg1) == lval_internalvar)
{
@@ -9843,9 +9843,6 @@ eval_ternop_in_range (struct type *expect_type, struct expression *exp,
enum noside noside,
value *arg1, value *arg2, value *arg3)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
-
binop_promote (exp->language_defn, exp->gdbarch, &arg1, &arg2);
binop_promote (exp->language_defn, exp->gdbarch, &arg1, &arg3);
struct type *type = language_bool_type (exp->language_defn, exp->gdbarch);
@@ -9865,9 +9862,7 @@ ada_unop_neg (struct type *expect_type,
enum noside noside, enum exp_opcode op,
struct value *arg1)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
- else if (ada_is_gnat_encoded_fixed_point_type (value_type (arg1)))
+ if (ada_is_gnat_encoded_fixed_point_type (value_type (arg1)))
return value_cast (value_type (arg1), value_neg (arg1));
else
{
@@ -9884,9 +9879,6 @@ ada_unop_in_range (struct type *expect_type,
enum noside noside, enum exp_opcode op,
struct value *arg1, struct type *type)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
-
struct value *arg2, *arg3;
switch (type->code ())
{
@@ -9943,9 +9935,7 @@ ada_atr_size (struct type *expect_type,
if (type->code () == TYPE_CODE_REF)
type = TYPE_TARGET_TYPE (type);
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
- else if (noside == EVAL_AVOID_SIDE_EFFECTS)
+ if (noside == EVAL_AVOID_SIDE_EFFECTS)
return value_zero (builtin_type (exp->gdbarch)->builtin_int, not_lval);
else
return value_from_longest (builtin_type (exp->gdbarch)->builtin_int,
diff --git a/gdb/c-exp.h b/gdb/c-exp.h
index 0ce2bd6eb22..1a69b1c7960 100644
--- a/gdb/c-exp.h
+++ b/gdb/c-exp.h
@@ -74,8 +74,6 @@ class objc_nsstring_operation
struct expression *exp,
enum noside noside) override
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
const std::string &str = std::get<0> (m_storage);
return value_nsstring (exp->gdbarch, str.c_str (), str.size () + 1);
}
@@ -95,8 +93,6 @@ class objc_selector_operation
struct expression *exp,
enum noside noside) override
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
return eval_op_objc_selector (expect_type, exp, noside,
std::get<0> (m_storage).c_str ());
}
diff --git a/gdb/c-lang.c b/gdb/c-lang.c
index 5dd27329726..36fc4fcad5c 100644
--- a/gdb/c-lang.c
+++ b/gdb/c-lang.c
@@ -638,24 +638,9 @@ c_string_operation::evaluate (struct type *expect_type,
dest_charset = charset_for_string_type (dest_type, exp->gdbarch);
- if (noside != EVAL_SKIP)
- {
- for (const std::string &item : std::get<1> (m_storage))
- parse_one_string (&output, item.c_str (), item.size (),
- dest_charset, type);
- }
-
- if (noside == EVAL_SKIP)
- {
- /* Return a dummy value of the appropriate type. */
- if (expect_type != NULL)
- result = allocate_value (expect_type);
- else if ((dest_type & C_CHAR) != 0)
- result = allocate_value (type);
- else
- result = value_cstring ("", 0, type);
- return result;
- }
+ for (const std::string &item : std::get<1> (m_storage))
+ parse_one_string (&output, item.c_str (), item.size (),
+ dest_charset, type);
if ((dest_type & C_CHAR) != 0)
{
diff --git a/gdb/eval.c b/gdb/eval.c
index 4d467cd436d..49e53f930b9 100644
--- a/gdb/eval.c
+++ b/gdb/eval.c
@@ -603,14 +603,6 @@ evaluate_var_msym_value (enum noside noside,
return value_at_lazy (the_type, address);
}
-/* Helper for returning a value when handling EVAL_SKIP. */
-
-value *
-eval_skip_value (expression *exp)
-{
- return value_from_longest (builtin_type (exp->gdbarch)->builtin_int, 1);
-}
-
/* See expression.h. */
value *
@@ -984,8 +976,6 @@ eval_op_scope (struct type *expect_type, struct expression *exp,
enum noside noside,
struct type *type, const char *string)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
struct value *arg1 = value_aggregate_elt (type, string, expect_type,
0, noside);
if (arg1 == NULL)
@@ -999,8 +989,6 @@ struct value *
eval_op_var_entry_value (struct type *expect_type, struct expression *exp,
enum noside noside, symbol *sym)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
if (noside == EVAL_AVOID_SIDE_EFFECTS)
return value_zero (SYMBOL_TYPE (sym), not_lval);
@@ -1032,8 +1020,6 @@ eval_op_func_static_var (struct type *expect_type, struct expression *exp,
enum noside noside,
value *func, const char *var)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
CORE_ADDR addr = value_address (func);
const block *blk = block_for_pc (addr);
struct block_symbol sym = lookup_symbol (var, blk, VAR_DOMAIN, NULL);
@@ -1074,8 +1060,6 @@ struct value *
eval_op_string (struct type *expect_type, struct expression *exp,
enum noside noside, int len, const char *string)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
struct type *type = language_string_char_type (exp->language_defn,
exp->gdbarch);
return value_string (string, len, type);
@@ -1086,9 +1070,6 @@ eval_op_objc_selector (struct type *expect_type, struct expression *exp,
enum noside noside,
const char *sel)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
-
struct type *selector_type = builtin_type (exp->gdbarch)->builtin_data_ptr;
return value_from_longest (selector_type,
lookup_child_selector (exp->gdbarch, sel));
@@ -1098,8 +1079,6 @@ struct value *
eval_op_concat (struct type *expect_type, struct expression *exp,
enum noside noside, struct value *arg1, struct value *arg2)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
if (binop_user_defined_p (BINOP_CONCAT, arg1, arg2))
return value_x_binop (arg1, arg2, BINOP_CONCAT, OP_NULL, noside);
else
@@ -1113,8 +1092,6 @@ eval_op_ternop (struct type *expect_type, struct expression *exp,
enum noside noside,
struct value *array, struct value *low, struct value *upper)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
int lowbound = value_as_long (low);
int upperbound = value_as_long (upper);
return value_slice (array, lowbound, upperbound - lowbound + 1);
@@ -1127,8 +1104,6 @@ eval_op_structop_struct (struct type *expect_type, struct expression *exp,
enum noside noside,
struct value *arg1, const char *string)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
struct value *arg3 = value_struct_elt (&arg1, NULL, string,
NULL, "structure");
if (noside == EVAL_AVOID_SIDE_EFFECTS)
@@ -1143,9 +1118,6 @@ eval_op_structop_ptr (struct type *expect_type, struct expression *exp,
enum noside noside,
struct value *arg1, const char *string)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
-
/* Check to see if operator '->' has been overloaded. If so replace
arg1 with the value returned by evaluating operator->(). */
while (unop_user_defined_p (STRUCTOP_PTR, arg1))
@@ -1204,9 +1176,6 @@ eval_op_member (struct type *expect_type, struct expression *exp,
{
long mem_offset;
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
-
struct value *arg3;
struct type *type = check_typedef (value_type (arg2));
switch (type->code ())
@@ -1245,8 +1214,6 @@ eval_op_add (struct type *expect_type, struct expression *exp,
enum noside noside,
struct value *arg1, struct value *arg2)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
if (binop_user_defined_p (BINOP_ADD, arg1, arg2))
return value_x_binop (arg1, arg2, BINOP_ADD, OP_NULL, noside);
else if (ptrmath_type_p (exp->language_defn, value_type (arg1))
@@ -1269,8 +1236,6 @@ eval_op_sub (struct type *expect_type, struct expression *exp,
enum noside noside,
struct value *arg1, struct value *arg2)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
if (binop_user_defined_p (BINOP_SUB, arg1, arg2))
return value_x_binop (arg1, arg2, BINOP_SUB, OP_NULL, noside);
else if (ptrmath_type_p (exp->language_defn, value_type (arg1))
@@ -1297,8 +1262,6 @@ eval_op_binary (struct type *expect_type, struct expression *exp,
enum noside noside, enum exp_opcode op,
struct value *arg1, struct value *arg2)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
if (binop_user_defined_p (op, arg1, arg2))
return value_x_binop (arg1, arg2, op, OP_NULL, noside);
else
@@ -1344,8 +1307,6 @@ eval_op_subscript (struct type *expect_type, struct expression *exp,
enum noside noside, enum exp_opcode op,
struct value *arg1, struct value *arg2)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
if (binop_user_defined_p (op, arg1, arg2))
return value_x_binop (arg1, arg2, op, OP_NULL, noside);
else
@@ -1380,8 +1341,6 @@ eval_op_equal (struct type *expect_type, struct expression *exp,
enum noside noside, enum exp_opcode op,
struct value *arg1, struct value *arg2)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
if (binop_user_defined_p (op, arg1, arg2))
{
return value_x_binop (arg1, arg2, op, OP_NULL, noside);
@@ -1403,8 +1362,6 @@ eval_op_notequal (struct type *expect_type, struct expression *exp,
enum noside noside, enum exp_opcode op,
struct value *arg1, struct value *arg2)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
if (binop_user_defined_p (op, arg1, arg2))
{
return value_x_binop (arg1, arg2, op, OP_NULL, noside);
@@ -1426,8 +1383,6 @@ eval_op_less (struct type *expect_type, struct expression *exp,
enum noside noside, enum exp_opcode op,
struct value *arg1, struct value *arg2)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
if (binop_user_defined_p (op, arg1, arg2))
{
return value_x_binop (arg1, arg2, op, OP_NULL, noside);
@@ -1449,8 +1404,6 @@ eval_op_gtr (struct type *expect_type, struct expression *exp,
enum noside noside, enum exp_opcode op,
struct value *arg1, struct value *arg2)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
if (binop_user_defined_p (op, arg1, arg2))
{
return value_x_binop (arg1, arg2, op, OP_NULL, noside);
@@ -1472,8 +1425,6 @@ eval_op_geq (struct type *expect_type, struct expression *exp,
enum noside noside, enum exp_opcode op,
struct value *arg1, struct value *arg2)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
if (binop_user_defined_p (op, arg1, arg2))
{
return value_x_binop (arg1, arg2, op, OP_NULL, noside);
@@ -1495,8 +1446,6 @@ eval_op_leq (struct type *expect_type, struct expression *exp,
enum noside noside, enum exp_opcode op,
struct value *arg1, struct value *arg2)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
if (binop_user_defined_p (op, arg1, arg2))
{
return value_x_binop (arg1, arg2, op, OP_NULL, noside);
@@ -1518,8 +1467,6 @@ eval_op_repeat (struct type *expect_type, struct expression *exp,
enum noside noside, enum exp_opcode op,
struct value *arg1, struct value *arg2)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
struct type *type = check_typedef (value_type (arg2));
if (type->code () != TYPE_CODE_INT
&& type->code () != TYPE_CODE_ENUM)
@@ -1540,8 +1487,6 @@ eval_op_plus (struct type *expect_type, struct expression *exp,
enum noside noside, enum exp_opcode op,
struct value *arg1)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
if (unop_user_defined_p (op, arg1))
return value_x_unop (arg1, op, noside);
else
@@ -1558,8 +1503,6 @@ eval_op_neg (struct type *expect_type, struct expression *exp,
enum noside noside, enum exp_opcode op,
struct value *arg1)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
if (unop_user_defined_p (op, arg1))
return value_x_unop (arg1, op, noside);
else
@@ -1576,8 +1519,6 @@ eval_op_complement (struct type *expect_type, struct expression *exp,
enum noside noside, enum exp_opcode op,
struct value *arg1)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
if (unop_user_defined_p (UNOP_COMPLEMENT, arg1))
return value_x_unop (arg1, UNOP_COMPLEMENT, noside);
else
@@ -1594,8 +1535,6 @@ eval_op_lognot (struct type *expect_type, struct expression *exp,
enum noside noside, enum exp_opcode op,
struct value *arg1)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
if (unop_user_defined_p (op, arg1))
return value_x_unop (arg1, op, noside);
else
@@ -1618,8 +1557,6 @@ eval_op_ind (struct type *expect_type, struct expression *exp,
|| type->code () == TYPE_CODE_MEMBERPTR)
error (_("Attempt to dereference pointer "
"to member without an object"));
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
if (unop_user_defined_p (UNOP_IND, arg1))
return value_x_unop (arg1, UNOP_IND, noside);
else if (noside == EVAL_AVOID_SIDE_EFFECTS)
@@ -1673,8 +1610,6 @@ eval_op_memval (struct type *expect_type, struct expression *exp,
enum noside noside,
struct value *arg1, struct type *type)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
if (noside == EVAL_AVOID_SIDE_EFFECTS)
return value_zero (type, lval_memory);
else
@@ -1688,7 +1623,7 @@ eval_op_preinc (struct type *expect_type, struct expression *exp,
enum noside noside, enum exp_opcode op,
struct value *arg1)
{
- if (noside == EVAL_SKIP || noside == EVAL_AVOID_SIDE_EFFECTS)
+ if (noside == EVAL_AVOID_SIDE_EFFECTS)
return arg1;
else if (unop_user_defined_p (op, arg1))
{
@@ -1719,7 +1654,7 @@ eval_op_predec (struct type *expect_type, struct expression *exp,
enum noside noside, enum exp_opcode op,
struct value *arg1)
{
- if (noside == EVAL_SKIP || noside == EVAL_AVOID_SIDE_EFFECTS)
+ if (noside == EVAL_AVOID_SIDE_EFFECTS)
return arg1;
else if (unop_user_defined_p (op, arg1))
{
@@ -1750,7 +1685,7 @@ eval_op_postinc (struct type *expect_type, struct expression *exp,
enum noside noside, enum exp_opcode op,
struct value *arg1)
{
- if (noside == EVAL_SKIP || noside == EVAL_AVOID_SIDE_EFFECTS)
+ if (noside == EVAL_AVOID_SIDE_EFFECTS)
return arg1;
else if (unop_user_defined_p (op, arg1))
{
@@ -1784,7 +1719,7 @@ eval_op_postdec (struct type *expect_type, struct expression *exp,
enum noside noside, enum exp_opcode op,
struct value *arg1)
{
- if (noside == EVAL_SKIP || noside == EVAL_AVOID_SIDE_EFFECTS)
+ if (noside == EVAL_AVOID_SIDE_EFFECTS)
return arg1;
else if (unop_user_defined_p (op, arg1))
{
@@ -1817,9 +1752,7 @@ struct value *
eval_op_type (struct type *expect_type, struct expression *exp,
enum noside noside, struct type *type)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
- else if (noside == EVAL_AVOID_SIDE_EFFECTS)
+ if (noside == EVAL_AVOID_SIDE_EFFECTS)
return allocate_value (type);
else
error (_("Attempt to use a type name as an expression"));
@@ -1832,7 +1765,7 @@ eval_binop_assign_modify (struct type *expect_type, struct expression *exp,
enum noside noside, enum exp_opcode op,
struct value *arg1, struct value *arg2)
{
- if (noside == EVAL_SKIP || noside == EVAL_AVOID_SIDE_EFFECTS)
+ if (noside == EVAL_AVOID_SIDE_EFFECTS)
return arg1;
if (binop_user_defined_p (op, arg1, arg2))
return value_x_binop (arg1, arg2, BINOP_ASSIGN_MODIFY, op, noside);
@@ -2082,8 +2015,6 @@ eval_op_objc_msgcall (struct type *expect_type, struct expression *exp,
called_method = msg_send;
}
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
if (noside == EVAL_AVOID_SIDE_EFFECTS)
{
@@ -2139,8 +2070,6 @@ eval_multi_subscript (struct type *expect_type, struct expression *exp,
enum noside noside, value *arg1,
gdb::array_view<value *> args)
{
- if (noside == EVAL_SKIP)
- return arg1;
for (value *arg2 : args)
{
if (binop_user_defined_p (MULTI_SUBSCRIPT, arg1, arg2))
@@ -2228,8 +2157,6 @@ logical_and_operation::evaluate (struct type *expect_type,
enum noside noside)
{
value *arg1 = std::get<0> (m_storage)->evaluate (nullptr, exp, noside);
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
value *arg2 = std::get<1> (m_storage)->evaluate (nullptr, exp,
EVAL_AVOID_SIDE_EFFECTS);
@@ -2259,8 +2186,6 @@ logical_or_operation::evaluate (struct type *expect_type,
enum noside noside)
{
value *arg1 = std::get<0> (m_storage)->evaluate (nullptr, exp, noside);
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
value *arg2 = std::get<1> (m_storage)->evaluate (nullptr, exp,
EVAL_AVOID_SIDE_EFFECTS);
@@ -2385,7 +2310,7 @@ array_operation::evaluate (struct type *expect_type,
int nargs = tem3 - tem2 + 1;
struct type *type = expect_type ? check_typedef (expect_type) : nullptr;
- if (expect_type != nullptr && noside != EVAL_SKIP
+ if (expect_type != nullptr
&& type->code () == TYPE_CODE_STRUCT)
{
struct value *rec = allocate_value (expect_type);
@@ -2394,7 +2319,7 @@ array_operation::evaluate (struct type *expect_type,
return evaluate_struct_tuple (rec, exp, noside, nargs);
}
- if (expect_type != nullptr && noside != EVAL_SKIP
+ if (expect_type != nullptr
&& type->code () == TYPE_CODE_ARRAY)
{
struct type *range_type = type->index_type ();
@@ -2430,7 +2355,7 @@ array_operation::evaluate (struct type *expect_type,
return array;
}
- if (expect_type != nullptr && noside != EVAL_SKIP
+ if (expect_type != nullptr
&& type->code () == TYPE_CODE_SET)
{
struct value *set = allocate_value (expect_type);
@@ -2503,8 +2428,6 @@ array_operation::evaluate (struct type *expect_type,
objects. */
argvec[tem] = in_args[tem]->evaluate_with_coercion (exp, noside);
}
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
return value_array (tem2, tem3, argvec);
}
@@ -2543,8 +2466,6 @@ operation::evaluate_for_cast (struct type *expect_type,
enum noside noside)
{
value *val = evaluate (expect_type, exp, noside);
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
return value_cast (expect_type, val);
}
@@ -2810,9 +2731,6 @@ var_msym_value_operation::evaluate_for_cast (struct type *to_type,
std::get<1> (m_storage),
std::get<0> (m_storage));
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
-
val = value_cast (to_type, val);
/* Don't allow e.g. '&(int)var_with_no_debug_info'. */
@@ -2834,9 +2752,6 @@ var_value_operation::evaluate_for_cast (struct type *to_type,
std::get<1> (m_storage),
std::get<0> (m_storage));
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
-
val = value_cast (to_type, val);
/* Don't allow e.g. '&(int)var_with_no_debug_info'. */
diff --git a/gdb/expop.h b/gdb/expop.h
index 7449ef60562..0abe6dac90b 100644
--- a/gdb/expop.h
+++ b/gdb/expop.h
@@ -1569,9 +1569,7 @@ class typeof_operation
struct expression *exp,
enum noside noside) override
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
- else if (noside == EVAL_AVOID_SIDE_EFFECTS)
+ if (noside == EVAL_AVOID_SIDE_EFFECTS)
return std::get<0> (m_storage)->evaluate (nullptr, exp,
EVAL_AVOID_SIDE_EFFECTS);
else
@@ -1594,9 +1592,7 @@ class decltype_operation
struct expression *exp,
enum noside noside) override
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
- else if (noside == EVAL_AVOID_SIDE_EFFECTS)
+ if (noside == EVAL_AVOID_SIDE_EFFECTS)
{
value *result
= std::get<0> (m_storage)->evaluate (nullptr, exp,
@@ -1671,10 +1667,7 @@ class unop_addr_operation
enum noside noside) override
{
/* C++: check for and handle pointer to members. */
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
- else
- return std::get<0> (m_storage)->evaluate_for_address (exp, noside);
+ return std::get<0> (m_storage)->evaluate_for_address (exp, noside);
}
enum exp_opcode opcode () const override
@@ -1706,8 +1699,6 @@ class unop_sizeof_operation
struct expression *exp,
enum noside noside) override
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
return std::get<0> (m_storage)->evaluate_for_sizeof (exp, noside);
}
@@ -1890,7 +1881,7 @@ class assign_operation
: value_type (lhs));
value *rhs = std::get<1> (m_storage)->evaluate (xtype, exp, noside);
- if (noside == EVAL_SKIP || noside == EVAL_AVOID_SIDE_EFFECTS)
+ if (noside == EVAL_AVOID_SIDE_EFFECTS)
return lhs;
if (binop_user_defined_p (BINOP_ASSIGN, lhs, rhs))
return value_x_binop (lhs, rhs, BINOP_ASSIGN, OP_NULL, noside);
@@ -2031,8 +2022,6 @@ class cxx_cast_operation
EVAL_AVOID_SIDE_EFFECTS);
struct type *type = value_type (val);
value *rhs = std::get<1> (m_storage)->evaluate (type, exp, noside);
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
return FUNC (type, rhs);
}
diff --git a/gdb/expression.h b/gdb/expression.h
index 83bfe753d84..244f4e8ad33 100644
--- a/gdb/expression.h
+++ b/gdb/expression.h
@@ -54,9 +54,6 @@ enum exp_opcode : uint8_t
enum noside
{
EVAL_NORMAL,
- EVAL_SKIP, /* Only effect is to increment pos.
- Return type information where
- possible. */
EVAL_AVOID_SIDE_EFFECTS /* Don't modify any variables or
call any functions. The value
returned will have the correct
diff --git a/gdb/f-lang.c b/gdb/f-lang.c
index f86f961e7bb..bf828d536f3 100644
--- a/gdb/f-lang.c
+++ b/gdb/f-lang.c
@@ -272,8 +272,6 @@ eval_op_f_abs (struct type *expect_type, struct expression *exp,
enum exp_opcode opcode,
struct value *arg1)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
struct type *type = value_type (arg1);
switch (type->code ())
{
@@ -302,8 +300,6 @@ eval_op_f_mod (struct type *expect_type, struct expression *exp,
enum exp_opcode opcode,
struct value *arg1, struct value *arg2)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
struct type *type = value_type (arg1);
if (type->code () != value_type (arg2)->code ())
error (_("non-matching types for parameters to MOD ()"));
@@ -341,8 +337,6 @@ eval_op_f_ceil (struct type *expect_type, struct expression *exp,
enum exp_opcode opcode,
struct value *arg1)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
struct type *type = value_type (arg1);
if (type->code () != TYPE_CODE_FLT)
error (_("argument to CEILING must be of type float"));
@@ -361,8 +355,6 @@ eval_op_f_floor (struct type *expect_type, struct expression *exp,
enum exp_opcode opcode,
struct value *arg1)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
struct type *type = value_type (arg1);
if (type->code () != TYPE_CODE_FLT)
error (_("argument to FLOOR must be of type float"));
@@ -381,8 +373,6 @@ eval_op_f_modulo (struct type *expect_type, struct expression *exp,
enum exp_opcode opcode,
struct value *arg1, struct value *arg2)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
struct type *type = value_type (arg1);
if (type->code () != value_type (arg2)->code ())
error (_("non-matching types for parameters to MODULO ()"));
@@ -423,8 +413,6 @@ eval_op_f_cmplx (struct type *expect_type, struct expression *exp,
enum exp_opcode opcode,
struct value *arg1, struct value *arg2)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
struct type *type = builtin_f_type(exp->gdbarch)->builtin_complex_s16;
return value_literal_complex (arg1, arg2, type);
}
diff --git a/gdb/m2-lang.c b/gdb/m2-lang.c
index a165cf6b603..6f6192937a4 100644
--- a/gdb/m2-lang.c
+++ b/gdb/m2-lang.c
@@ -37,7 +37,7 @@ eval_op_m2_high (struct type *expect_type, struct expression *exp,
enum noside noside,
struct value *arg1)
{
- if (noside == EVAL_SKIP || noside == EVAL_AVOID_SIDE_EFFECTS)
+ if (noside == EVAL_AVOID_SIDE_EFFECTS)
return arg1;
else
{
@@ -68,8 +68,6 @@ eval_op_m2_subscript (struct type *expect_type, struct expression *exp,
enum noside noside,
struct value *arg1, struct value *arg2)
{
- if (noside == EVAL_SKIP)
- return eval_skip_value (exp);
/* If the user attempts to subscript something that is not an
array or pointer type (like a plain int variable for example),
then report this as an error. */
diff --git a/gdb/opencl-lang.c b/gdb/opencl-lang.c
index c168cd49344..1d6117a9285 100644
--- a/gdb/opencl-lang.c
+++ b/gdb/opencl-lang.c
@@ -681,7 +681,7 @@ eval_opencl_assign (struct type *expect_type, struct expression *exp,
enum noside noside, enum exp_opcode op,
struct value *arg1, struct value *arg2)
{
- if (noside == EVAL_SKIP || noside == EVAL_AVOID_SIDE_EFFECTS)
+ if (noside == EVAL_AVOID_SIDE_EFFECTS)
return arg1;
struct type *type1 = value_type (arg1);
diff --git a/gdb/value.h b/gdb/value.h
index 88995cfeafe..59036b070aa 100644
--- a/gdb/value.h
+++ b/gdb/value.h
@@ -923,8 +923,6 @@ extern value *evaluate_var_msym_value (enum noside noside,
struct objfile *objfile,
minimal_symbol *msymbol);
-extern value *eval_skip_value (expression *exp);
-
namespace expr { class operation; };
extern void fetch_subexp_value (struct expression *exp,
expr::operation *op,
--
2.26.2
next prev parent reply other threads:[~2021-01-01 21:50 UTC|newest]
Thread overview: 225+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-01 21:44 [PATCH 000/203] Refactor expressions Tom Tromey
2021-01-01 21:44 ` [PATCH 001/203] Split out eval_op_scope Tom Tromey
2021-01-01 21:44 ` [PATCH 002/203] Split out eval_op_var_entry_value Tom Tromey
2021-01-01 21:44 ` [PATCH 003/203] Split out eval_op_var_msym_value Tom Tromey
2021-01-04 11:43 ` Andrew Burgess
2021-02-13 19:37 ` Tom Tromey
2021-01-01 21:44 ` [PATCH 004/203] Split out eval_op_func_static_var Tom Tromey
2021-01-01 21:44 ` [PATCH 005/203] Split out eval_op_register Tom Tromey
2021-01-01 21:44 ` [PATCH 006/203] Split out eval_op_string Tom Tromey
2021-01-01 21:44 ` [PATCH 007/203] Split out eval_op_objc_selector Tom Tromey
2021-01-01 21:44 ` [PATCH 008/203] Split out eval_op_concat Tom Tromey
2021-01-01 21:44 ` [PATCH 009/203] what is this code for Tom Tromey
2021-01-03 6:00 ` Joel Brobecker
2021-01-25 2:28 ` Simon Marchi via Gdb-patches
2021-01-25 3:27 ` Tom Tromey
2021-02-11 2:25 ` Tom Tromey
2021-02-13 19:37 ` Tom Tromey
2021-01-01 21:44 ` [PATCH 010/203] Split out eval_op_ternop Tom Tromey
2021-01-01 21:44 ` [PATCH 011/203] Split out eval_op_structop_struct Tom Tromey
2021-01-01 21:44 ` [PATCH 012/203] Split out eval_op_structop_ptr Tom Tromey
2021-01-01 21:44 ` [PATCH 013/203] Split out eval_op_member Tom Tromey
2021-01-01 21:44 ` [PATCH 014/203] Split out eval_op_add Tom Tromey
2021-01-01 21:44 ` [PATCH 015/203] Split out eval_op_sub Tom Tromey
2021-01-01 21:44 ` [PATCH 016/203] Split out eval_op_binary Tom Tromey
2021-01-01 21:44 ` [PATCH 017/203] Split out eval_op_subscript Tom Tromey
2021-01-01 21:44 ` [PATCH 018/203] Split out eval_op_equal Tom Tromey
2021-01-01 21:44 ` [PATCH 019/203] Split out eval_op_notequal Tom Tromey
2021-01-01 21:44 ` [PATCH 020/203] Split out eval_op_less Tom Tromey
2021-01-01 21:44 ` [PATCH 021/203] Split out eval_op_gtr Tom Tromey
2021-01-01 21:44 ` [PATCH 022/203] Split out eval_op_geq Tom Tromey
2021-01-01 21:44 ` [PATCH 023/203] Split out eval_op_leq Tom Tromey
2021-01-01 21:44 ` [PATCH 024/203] Split out eval_op_repeat Tom Tromey
2021-01-01 21:44 ` [PATCH 025/203] Split out eval_op_plus Tom Tromey
2021-01-01 21:44 ` [PATCH 026/203] Split out eval_op_neg Tom Tromey
2021-01-01 21:44 ` [PATCH 027/203] Split out eval_op_complement Tom Tromey
2021-01-01 21:44 ` [PATCH 028/203] Split out eval_op_lognot Tom Tromey
2021-01-01 21:44 ` [PATCH 029/203] Split out eval_op_ind Tom Tromey
2021-01-01 21:44 ` [PATCH 030/203] Split out eval_op_alignof Tom Tromey
2021-01-01 21:44 ` [PATCH 031/203] Split out eval_op_memval Tom Tromey
2021-01-01 21:44 ` [PATCH 032/203] Split out eval_op_preinc Tom Tromey
2021-01-01 21:44 ` [PATCH 033/203] Split out eval_op_predec Tom Tromey
2021-01-01 21:44 ` [PATCH 034/203] Split out eval_op_postinc Tom Tromey
2021-01-01 21:44 ` [PATCH 035/203] Split out eval_op_postdec Tom Tromey
2021-01-01 21:44 ` [PATCH 036/203] Split out eval_op_type Tom Tromey
2021-01-01 21:44 ` [PATCH 037/203] Split out eval_op_f_abs Tom Tromey
2021-01-01 21:44 ` [PATCH 038/203] Split out eval_op_f_mod Tom Tromey
2021-01-01 21:44 ` [PATCH 039/203] Split out eval_op_f_ceil Tom Tromey
2021-01-01 21:44 ` [PATCH 040/203] Split out eval_op_f_floor Tom Tromey
2021-01-01 21:44 ` [PATCH 041/203] Split out eval_op_f_modulo Tom Tromey
2021-01-01 21:44 ` [PATCH 042/203] Split out eval_op_f_cmplx Tom Tromey
2021-01-01 21:44 ` [PATCH 043/203] Split out eval_op_f_kind Tom Tromey
2021-01-01 21:44 ` [PATCH 044/203] Change parameters to rust_range Tom Tromey
2021-01-01 21:44 ` [PATCH 045/203] Change parameters to rust_subscript Tom Tromey
2021-01-01 21:44 ` [PATCH 046/203] Split out eval_op_rust_ind Tom Tromey
2021-01-01 21:44 ` [PATCH 047/203] Split out eval_op_rust_complement Tom Tromey
2021-01-01 21:44 ` [PATCH 048/203] Split out eval_op_rust_array Tom Tromey
2021-01-01 21:44 ` [PATCH 049/203] Split out eval_op_rust_struct_anon Tom Tromey
2021-01-01 21:44 ` [PATCH 050/203] Split out eval_op_rust_structop Tom Tromey
2021-01-01 21:44 ` [PATCH 051/203] Split helper functions Tom Tromey
2021-01-01 21:44 ` [PATCH 052/203] Split out eval_op_m2_high Tom Tromey
2021-01-04 12:05 ` Andrew Burgess
2021-02-10 0:56 ` Tom Tromey
2021-01-01 21:44 ` [PATCH 053/203] Split out eval_op_m2_subscript Tom Tromey
2021-01-01 21:44 ` [PATCH 054/203] Split out eval_binop_assign_modify Tom Tromey
2021-01-01 21:44 ` [PATCH 055/203] Split out eval_op_objc_msgcall Tom Tromey
2021-01-01 21:44 ` [PATCH 056/203] Split out eval_opencl_assign Tom Tromey
2021-01-01 21:44 ` [PATCH 057/203] Split out eval_ternop_in_range Tom Tromey
2021-01-01 21:44 ` [PATCH 058/203] Split out ada_unop_neg Tom Tromey
2021-01-01 21:44 ` [PATCH 059/203] Split out ada_unop_in_range Tom Tromey
2021-01-01 21:45 ` [PATCH 060/203] Split out ada_atr_tag Tom Tromey
2021-01-01 21:45 ` [PATCH 061/203] Split out ada_atr_size Tom Tromey
2021-01-01 21:45 ` [PATCH 062/203] Split out ada_abs Tom Tromey
2021-01-01 21:45 ` [PATCH 063/203] Split out ada_mult_binop Tom Tromey
2021-01-01 21:45 ` [PATCH 064/203] Split out ada_equal_binop Tom Tromey
2021-01-01 21:45 ` [PATCH 065/203] Split out ada_ternop_slice Tom Tromey
2021-01-01 21:45 ` [PATCH 066/203] Split out ada_binop_in_bounds Tom Tromey
2021-01-01 21:45 ` [PATCH 067/203] Split out ada_unop_atr Tom Tromey
2021-01-01 21:45 ` [PATCH 068/203] Split out ada_binop_minmax Tom Tromey
2021-01-01 21:45 ` [PATCH 069/203] Change value_val_atr to ada_val_atr Tom Tromey
2021-01-01 21:45 ` [PATCH 070/203] Split out ada_binop_exp Tom Tromey
2021-01-01 21:45 ` [PATCH 071/203] Split out eval_multi_subscript Tom Tromey
2021-01-01 21:45 ` [PATCH 072/203] Split gen_expr_binop_rest Tom Tromey
2021-01-01 21:45 ` [PATCH 073/203] Introduce class operation Tom Tromey
2021-01-03 7:09 ` Joel Brobecker
2021-01-03 13:55 ` Lancelot SIX via Gdb-patches
2021-02-10 0:57 ` Tom Tromey
2021-01-01 21:45 ` [PATCH 074/203] Implement dumping Tom Tromey
2021-01-01 21:45 ` [PATCH 075/203] Add two agent expression helper functions Tom Tromey
2021-01-01 21:45 ` [PATCH 076/203] Introduce float_const_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 077/203] Introduce scope_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 078/203] Introduce long_const_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 079/203] Introduce var_msym_value_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 080/203] Introduce var_entry_value_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 081/203] Introduce func_static_var_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 082/203] Introduce last_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 083/203] Introduce register_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 084/203] Introduce bool_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 085/203] Introduce internalvar_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 086/203] Introduce string_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 087/203] Introduce ternop_slice_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 088/203] Introduce ternop_cond_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 089/203] Add c-exp.h and c_string_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 090/203] Introduce objc_nsstring_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 091/203] Introduce objc_selector_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 092/203] Introduce complex_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 093/203] Introduce structop_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 094/203] Introduce structop_ptr_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 095/203] Introduce structop_member_operation and structop_mptr_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 096/203] Introduce concat_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 097/203] Introduce add_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 098/203] Introduce sub_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 099/203] Introduce binop_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 100/203] Introduce subscript_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 101/203] Implement binary comparison operations Tom Tromey
2021-01-01 21:45 ` [PATCH 102/203] Introduce repeat_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 103/203] Introduce comma_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 104/203] Implement some unary operations Tom Tromey
2021-01-01 21:45 ` [PATCH 105/203] Implement unary increment and decrement operations Tom Tromey
2021-01-01 21:45 ` [PATCH 106/203] Introduce unop_ind_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 107/203] Introduce type_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 108/203] Introduce typeof_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 109/203] Introduce decltype_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 110/203] Introduce typeid_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 111/203] Introduce unop_addr_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 112/203] Introduce unop_sizeof_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 113/203] Introduce unop_alignof_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 114/203] Implement UNOP_MEMVAL and UNOP_MEMVAL_TYPE Tom Tromey
2021-01-01 21:45 ` [PATCH 115/203] Introduce op_this_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 116/203] Introduce type_instance_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 117/203] Introduce assign_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 118/203] Introduce assign_modify_operation Tom Tromey
2021-01-01 21:45 ` [PATCH 119/203] Introduce unop_cast_operation Tom Tromey
2021-01-01 21:46 ` [PATCH 120/203] Introduce unop_cast_type_operation Tom Tromey
2021-01-01 21:46 ` [PATCH 121/203] Implement C++ cast operations Tom Tromey
2021-01-01 21:46 ` [PATCH 122/203] Introduce var_value_operation Tom Tromey
2021-01-01 21:46 ` [PATCH 123/203] Introduce objc_msgcall_operation Tom Tromey
2021-01-01 21:46 ` [PATCH 124/203] Introduce multi_subscript_operation Tom Tromey
2021-01-01 21:46 ` [PATCH 125/203] Introduce ada_wrapped_operation Tom Tromey
2021-01-01 21:46 ` [PATCH 126/203] Introduce ada_string_operation Tom Tromey
2021-01-01 21:46 ` [PATCH 127/203] Introduce ada_qual_operation Tom Tromey
2021-01-01 21:46 ` [PATCH 128/203] Introduce ada_ternop_range_operation Tom Tromey
2021-01-01 21:46 ` [PATCH 129/203] Implement several Fortran operations Tom Tromey
2021-01-01 21:46 ` [PATCH 130/203] Implement some Rust operations Tom Tromey
2021-01-01 21:46 ` [PATCH 131/203] Introduce rust_unop_ind_operation Tom Tromey
2021-01-01 21:46 ` [PATCH 132/203] Introduce rust_subscript_operation Tom Tromey
2021-01-01 21:46 ` [PATCH 133/203] Introduce rust_range_operation Tom Tromey
2021-01-01 21:46 ` [PATCH 134/203] Implement Rust field operations Tom Tromey
2021-01-01 21:46 ` [PATCH 135/203] Introduce rust_aggregate_operation Tom Tromey
2021-01-01 21:46 ` [PATCH 136/203] Add two simple Modula-2 operations Tom Tromey
2021-01-07 15:16 ` Gaius Mulley via Gdb-patches
2021-01-01 21:46 ` [PATCH 137/203] Implement the "&&" and "||" operators Tom Tromey
2021-01-01 21:46 ` [PATCH 138/203] Implement some Ada unary operations Tom Tromey
2021-01-01 21:46 ` [PATCH 139/203] Introduce ada_unop_range_operation Tom Tromey
2021-01-01 21:46 ` [PATCH 140/203] Introduce class adl_func_operation Tom Tromey
2021-01-01 21:46 ` [PATCH 141/203] Introduce array_operation Tom Tromey
2021-01-01 21:46 ` [PATCH 142/203] Implement function call operations Tom Tromey
2021-01-01 21:46 ` [PATCH 143/203] Implement Rust funcall operation Tom Tromey
2021-01-01 21:46 ` [PATCH 144/203] Introduce fortran_undetermined Tom Tromey
2021-01-01 21:46 ` [PATCH 145/203] Introduce opencl_cast_type_operation Tom Tromey
2021-01-01 21:46 ` [PATCH 146/203] Implement OpenCL binary operations Tom Tromey
2021-01-01 21:46 ` [PATCH 147/203] Introduce opencl_notequal_operation Tom Tromey
2021-01-01 21:46 ` [PATCH 148/203] Introduce opencl_structop_operation Tom Tromey
2021-01-01 21:46 ` [PATCH 149/203] Implement OpenCL logical binary operations Tom Tromey
2021-01-01 21:46 ` [PATCH 150/203] Implement OpenCL ternary conditional operator Tom Tromey
2021-01-01 21:46 ` [PATCH 151/203] Split out some Ada type resolution code Tom Tromey
2021-01-03 7:46 ` Joel Brobecker
2021-02-13 19:47 ` Tom Tromey
2021-01-01 21:46 ` [PATCH 152/203] Introduce ada_binop_addsub_operation Tom Tromey
2021-01-01 21:46 ` [PATCH 153/203] Implement Ada multiplicative operators Tom Tromey
2021-01-01 21:46 ` [PATCH 154/203] Implement Ada equality operators Tom Tromey
2021-01-01 21:46 ` [PATCH 155/203] Introduce ada_bitwise_operation Tom Tromey
2021-01-01 21:46 ` [PATCH 156/203] Introduce ada_ternop_slice Tom Tromey
2021-01-01 21:46 ` [PATCH 157/203] Introduce ada_binop_in_bounds Tom Tromey
2021-01-01 21:46 ` [PATCH 158/203] Implement some Ada OP_ATR_ operations Tom Tromey
2021-01-01 21:46 ` [PATCH 159/203] Introduce ada_var_value_operation Tom Tromey
2021-01-01 21:46 ` [PATCH 160/203] Introduce ada_var_msym_value_operation Tom Tromey
2021-01-01 21:46 ` [PATCH 161/203] Implement Ada min and max operations Tom Tromey
2021-01-01 21:46 ` [PATCH 162/203] Refactor value_pos_atr Tom Tromey
2021-01-01 21:46 ` [PATCH 163/203] Introduce ada_pos_operation Tom Tromey
2021-01-01 21:46 ` [PATCH 164/203] Introduce ada_atr_val_operation Tom Tromey
2021-01-01 21:46 ` [PATCH 165/203] Introduce ada_binop_exp_operation Tom Tromey
2021-01-01 21:46 ` [PATCH 166/203] Introduce ada_unop_ind_operation Tom Tromey
2021-01-01 21:46 ` [PATCH 167/203] Introduce ada_structop_operation Tom Tromey
2021-01-01 21:46 ` [PATCH 168/203] Implement function calls for Ada Tom Tromey
2021-01-01 21:46 ` [PATCH 169/203] Implement Ada resolution Tom Tromey
2021-01-03 7:57 ` Joel Brobecker
2021-02-13 19:49 ` Tom Tromey
2021-01-01 21:46 ` [PATCH 170/203] Implement Ada assignment Tom Tromey
2021-01-01 21:46 ` [PATCH 171/203] Remove use of op_string Tom Tromey
2021-01-01 21:46 ` [PATCH 172/203] Add an expr::operation_up to struct expression Tom Tromey
2021-01-01 21:46 ` [PATCH 173/203] Add completion for operations Tom Tromey
2021-01-01 21:46 ` [PATCH 174/203] Add operation-related methods to parser_state Tom Tromey
2021-01-01 21:46 ` [PATCH 175/203] Convert dtrace probes to use operations Tom Tromey
2021-01-01 21:46 ` [PATCH 176/203] Convert stap probes to create operations Tom Tromey
2021-01-01 21:46 ` [PATCH 177/203] Convert rust-exp.y to use operations Tom Tromey
2021-01-01 21:46 ` [PATCH 178/203] Convert c-exp.y " Tom Tromey
2021-01-01 21:46 ` [PATCH 179/203] Convert go-exp.y " Tom Tromey
2021-01-01 21:47 ` [PATCH 180/203] Convert d-exp.y " Tom Tromey
2021-01-01 21:47 ` [PATCH 181/203] Convert p-exp.y " Tom Tromey
2021-01-01 21:47 ` [PATCH 182/203] Convert m2-exp.y " Tom Tromey
2021-01-01 21:47 ` [PATCH 183/203] Convert f-exp.y " Tom Tromey
2021-01-01 21:47 ` [PATCH 184/203] Convert ada-exp.y " Tom Tromey
2021-01-01 21:47 ` [PATCH 185/203] Remove now-unused Rust evaluator code Tom Tromey
2021-01-01 21:47 ` [PATCH 186/203] Remove now-unused Fortran " Tom Tromey
2021-01-01 21:47 ` [PATCH 187/203] Remove now-unused Modula-2 " Tom Tromey
2021-01-01 21:47 ` [PATCH 188/203] Remove now-unused Ada " Tom Tromey
2021-01-01 21:47 ` [PATCH 189/203] Remove now-unused C " Tom Tromey
2021-01-01 21:47 ` [PATCH 190/203] Remove union exp_element Tom Tromey
2021-01-01 21:47 ` [PATCH 191/203] Remove two Ada opcodes Tom Tromey
2021-01-01 21:47 ` [PATCH 192/203] Remove unused Modula-2 opcodes Tom Tromey
2021-01-01 21:47 ` [PATCH 193/203] Remove unused Ada opcodes Tom Tromey
2021-01-01 21:47 ` [PATCH 194/203] Remove OP_EXTENDED0 Tom Tromey
2021-01-01 21:47 ` [PATCH 195/203] Remove OP_UNUSED_LAST Tom Tromey
2021-01-01 21:47 ` [PATCH 196/203] Remove BINOP_END Tom Tromey
2021-01-01 21:47 ` [PATCH 197/203] Inline expression constructor Tom Tromey
2021-01-01 21:47 ` [PATCH 198/203] Inline expr_builder methods Tom Tromey
2021-01-01 21:47 ` [PATCH 199/203] Merge namespace scopes in eval.c Tom Tromey
2021-01-01 21:47 ` Tom Tromey [this message]
2021-01-01 21:47 ` [PATCH 201/203] Change exp_uses_objfile to return bool Tom Tromey
2021-01-01 21:47 ` [PATCH 202/203] Use bound_minimal_symbol in var_msym_value_operation Tom Tromey
2021-01-01 21:47 ` [PATCH 203/203] Remove some null checks Tom Tromey
2021-01-03 7:02 ` [PATCH 000/203] Refactor expressions Joel Brobecker
2021-01-04 12:16 ` Andrew Burgess
2021-02-13 19:54 ` Tom Tromey
2021-02-16 16:17 ` 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=20210101214723.1784144-201-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