+2016-11-24 John Baldwin <jhb@FreeBSD.org>
+
+ * ada-lang.c (create_excep_cond_exprs): Do not use 'std::move'.
+ * ax-gdb.c (agent_eval_command_one): Likewise.
+ (agent_eval_command_one): Likewise.
+ * breakpoint.c (parse_cond_to_aexpr): Likewise.
+ (parse_cmd_to_aexpr): Likewise.
+ * dtrace-probe.c (dtrace_process_dof_probe): Likewise.
+ * parse.c (parse_expression_for_completion): Likewise.
+
2016-11-24 John Baldwin <jhb@FreeBSD.org>
* common/new-op.c (operator new): Mark 'noexcept'.
s = cond_string;
TRY
{
- exp = std::move (parse_exp_1 (&s, bl->address,
- block_for_pc (bl->address),
- 0));
+ exp = parse_exp_1 (&s, bl->address,
+ block_for_pc (bl->address),
+ 0);
}
CATCH (e, RETURN_MASK_ERROR)
{
arg = exp;
if (!eval && strcmp (arg, "$_ret") == 0)
{
- agent = std::move (gen_trace_for_return_address (pc, get_current_arch (),
- trace_string));
+ agent = gen_trace_for_return_address (pc, get_current_arch (),
+ trace_string);
}
else
{
if (eval)
{
gdb_assert (trace_string == 0);
- agent = std::move (gen_eval_for_expr (pc, expr.get ()));
+ agent = gen_eval_for_expr (pc, expr.get ());
}
else
- agent = std::move (gen_trace_for_expr (pc, expr.get (), trace_string));
+ agent = gen_trace_for_expr (pc, expr.get (), trace_string);
}
ax_reqs (agent.get ());
that may show up. */
TRY
{
- aexpr = std::move (gen_eval_for_expr (scope, cond));
+ aexpr = gen_eval_for_expr (scope, cond);
}
CATCH (ex, RETURN_MASK_ERROR)
that may show up. */
TRY
{
- aexpr = std::move (gen_printf (scope, gdbarch, 0, 0,
- format_start, format_end - format_start,
- fpieces, nargs, argvec));
+ aexpr = gen_printf (scope, gdbarch, 0, 0,
+ format_start, format_end - format_start,
+ fpieces, nargs, argvec);
}
CATCH (ex, RETURN_MASK_ERROR)
{
TRY
{
- expr = std::move (parse_expression_with_language (arg.type_str,
- language_c));
+ expr = parse_expression_with_language (arg.type_str, language_c);
}
CATCH (ex, RETURN_MASK_ERROR)
{
TRY
{
parse_completion = 1;
- exp = std::move (parse_exp_in_context (&string, 0, 0, 0, 0, &subexp));
+ exp = parse_exp_in_context (&string, 0, 0, 0, 0, &subexp);
}
CATCH (except, RETURN_MASK_ERROR)
{