--- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -2239,22 +2239,9 @@ parse_cmd_to_aexpr (CORE_ADDR scope, cha ++cmdrest; } - /* We don't want to stop processing, so catch any errors - that may show up. */ - TRY_CATCH (ex, RETURN_MASK_ERROR) - { - aexpr = gen_printf (scope, gdbarch, 0, 0, - format_start, format_end - format_start, - fpieces, nargs, argvec); - } - - if (ex.reason < 0) - { - /* 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. - It's no use iterating through the other commands. */ - return NULL; - } + aexpr = gen_printf (scope, gdbarch, 0, 0, + format_start, format_end - format_start, + fpieces, nargs, argvec); do_cleanups (old_cleanups);