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: [1/3] broken -thread-info output in non-stop mode, suppress_stop_observer


> Hmmm, I do wonder if we could rewrite "finish" to not rely on 
> bpstat_find_breakpoint after normal_stop, but to instead add a new
> BPSTAT_WHAT_FINISH and handle it from within handle_inferior_event's
> internal breakpoint handling switch (where we handle
> BPSTAT_WHAT_STEP_RESUME, etc.).  Since that runs before normal_stop,
> we wouldn't have to suppress the normal_stop observer.

Seems like worth a try indeed. It might simplify how the "finish"
command is implemented too.

-- 
Joel


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