This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 3/6] attach to command_option-changed observer.
>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:
Tom> That would be one way to deal with the problem, but there are probably
Tom> other ways as well. (I didn't commit that patch because Volodya had a
Tom> different approach to emitting the notifications that I was interested
Tom> in... but I still think it is a decent idea.)
Yao> What is the different approach? I don't see any discussion in that
Yao> thread.
That patch was preparation for emitting better breakpoint notifications
-- which Vladimir implemented in a different way.
You can see what he did in mi-interp.c:mi_breakpoint_created.
Yao> What should we do here? Shall we keep using ui-file (as what I
Yao> wrote in this patch) or migrate to ui-out with your patch applied?
I think you should take whichever approach you think is best.
The most important thing is to not have the quoting bug.
Tom