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: Tom Tromey <tromey at redhat dot com>
- To: Vladimir Prus <vladimir at codesourcery dot com>
- Cc: 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, 06 Feb 2009 14:11:27 -0700
- Subject: Re: [RFA] fix *stopped for CLI commands
- References: <200902061045.18508.vladimir@codesourcery.com>
- Reply-to: tromey at redhat dot com
>>>>> "Vladimir" == Vladimir Prus <vladimir@codesourcery.com> writes:
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.
Vladimir> -@deftypefun void normal_stop (struct bpstats *@var{bs})
Vladimir> +@deftypefun void normal_stop (struct bpstats *@var{bs}, int @var{print_frame})
Vladimir> The inferior has stopped for real.
Vladimir> @end deftypefun
I would like to ask for documentation describing the meaning of the
new argument.
Tom