Re: [RFA] fix *stopped for CLI commands

Tom Tromey
2009-02-06T21:11:43Z

>>>>> "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