This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 3/3] Fix non-stop regressions caused by "breakpoints always-inserted off" changes


Pedro Alves <palves@redhat.com> writes:

[ThunderBird puts this series into a wrong thread, so I don't see it
until today]

The patch looks reasonable to me.

> -  /* Don't print a message if in the middle of doing a "step n"
> -     operation for n > 1 */
> +  /* Notify observers if we finished a "step"-like command, etc.  */
>    if (target_has_execution
>        && last.kind != TARGET_WAITKIND_SIGNALLED
>        && last.kind != TARGET_WAITKIND_EXITED
> -      && inferior_thread ()->step_multi
>        && inferior_thread ()->control.stop_step)
> -    goto done;
> +    {
> +      /* But not if if in the middle of doing a "step n" operation for
                    ^^^^^
Duplicated "if"?

-- 
Yao (éå)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]