This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] fix *stopped for CLI commands
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Vladimir Prus <vladimir at codesourcery dot com>, gdb-patches at sources dot redhat dot com, Nick Roberts <nickrob at snap dot net dot nz>, Marc Khouzam <marc dot khouzam at ericsson dot com>
- Date: Fri, 6 Feb 2009 17:04:15 -0800
- Subject: Re: [RFA] fix *stopped for CLI commands
- References: <200902061045.18508.vladimir@codesourcery.com> <m34oz75kzk.fsf@fleche.redhat.com>
> Vladimir> This patch fixes this by making MI observer print frame
> Vladimir> again, into MI uiout, if necessary. It passes all MI tests
> Vladimir> in (sync,async)x(native,gdbserver) combinations. How does
> Vladimir> this look, and are non-MI changes OK? If approved, I'll add
> Vladimir> a test that CLI commands result in proper *stopped.
>
> I don't understand all the implications of the core change, but I do
> like how it moves some MI logic out of the core and into MI.
Agreed. Ideally, I'd really like to see all such notifications
be handled by observers, even the CLI ones.
--
Joel