This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2 9/9] enable target-async
- From: Tom Tromey <tromey at redhat dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Fri, 02 Aug 2013 13:26:23 -0600
- Subject: Re: [PATCH v2 9/9] enable target-async
- References: <1375295281-7040-1-git-send-email-tromey at redhat dot com> <1375295281-7040-10-git-send-email-tromey at redhat dot com> <51FA1D7A dot 2010100 at codesourcery dot com> <87haf9h0qy dot fsf at fleche dot redhat dot com>
Yao> looks we can iterate over all threads, to check field command_interp
Yao> to know what interpreter is used by the previous command (assuming
Yao> that there should be only one thread whose command_interp is not
Yao> NULL), so that this flag 'mi_last_was_cli' can be removed?
Tom> Thanks, Yao. I will take a look.
This worked out nicely. Well, "nicely", in that the fundamental
hackiness still exists, but at least we didn't have to introduce another
new global. Thanks for catching this.
I'll send the new series shortly.
Tom