aexpr = gen_eval_for_expr (scope, cond);
}
- catch (const gdb_exception_RETURN_MASK_ERROR &ex)
+ catch (const gdb_exception_error &ex)
{
/* If we got here, it means the condition could not be parsed to a valid
bytecode expression and thus can't be evaluated on the target's side.
format_start, format_end - format_start,
argvec.size (), argvec.data ());
}
- catch (const gdb_exception_RETURN_MASK_ERROR &ex)
+ catch (const gdb_exception_error &ex)
{
/* If we got here, it means the command could not be parsed to a valid
bytecode expression and thus can't be evaluated on the target's side.
if (val)
bp_excpt = gdb_exception {RETURN_ERROR, GENERIC_ERROR};
}
- catch (const gdb_exception_RETURN_MASK_ALL &e)
+ catch (const gdb_exception &e)
{
bp_excpt = e;
}
bp_excpt
= gdb_exception {RETURN_ERROR, GENERIC_ERROR};
}
- catch (const gdb_exception_RETURN_MASK_ALL &e)
+ catch (const gdb_exception &e)
{
bp_excpt = e;
}
if (val)
bp_excpt = gdb_exception {RETURN_ERROR, GENERIC_ERROR};
}
- catch (const gdb_exception_RETURN_MASK_ALL &e)
+ catch (const gdb_exception &e)
{
bp_excpt = e;
}
{
e = watchpoint_check (bs);
}
- catch (const gdb_exception_RETURN_MASK_ALL &ex)
+ catch (const gdb_exception &ex)
{
exception_fprintf (gdb_stderr, ex,
"Error evaluating expression "
{
condition_result = breakpoint_cond_eval (cond);
}
- catch (const gdb_exception_RETURN_MASK_ALL &ex)
+ catch (const gdb_exception &ex)
{
exception_fprintf (gdb_stderr, ex,
"Error in testing breakpoint condition:\n");
{
ops->create_sals_from_location (location, &canonical, type_wanted);
}
- catch (const gdb_exception_RETURN_MASK_ERROR &e)
+ catch (const gdb_exception_error &e)
{
/* If caller is interested in rc value from parse, set
value. */
{
update_global_location_list (insert_mode);
}
- catch (const gdb_exception_RETURN_MASK_ERROR &e)
+ catch (const gdb_exception_error &e)
{
}
}
block_for_pc (sal.pc),
0);
}
- catch (const gdb_exception_RETURN_MASK_ERROR &e)
+ catch (const gdb_exception_error &e)
{
warning (_("failed to reevaluate condition "
"for breakpoint %d: %s"),
{
sals = b->ops->decode_location (b, location, search_pspace);
}
- catch (const gdb_exception_RETURN_MASK_ERROR &e)
+ catch (const gdb_exception_error &e)
{
int not_found_and_ok = 0;
{
breakpoint_re_set_one (b);
}
- catch (const gdb_exception_RETURN_MASK_ALL &ex)
+ catch (const gdb_exception &ex)
{
exception_fprintf (gdb_stderr, ex,
"Error in re-setting breakpoint %d: ",
bpt->enable_state = bp_enabled;
update_watchpoint (w, 1 /* reparse */);
}
- catch (const gdb_exception_RETURN_MASK_ALL &e)
+ catch (const gdb_exception &e)
{
bpt->enable_state = orig_enable_state;
exception_fprintf (gdb_stderr, e, _("Cannot enable watchpoint %d: "),
{
print_command_lines (current_uiout, tp->commands.get (), 2);
}
- catch (const gdb_exception_RETURN_MASK_ALL &ex)
+ catch (const gdb_exception &ex)
{
current_uiout->redirect (NULL);
throw_exception (ex);