Re: [RFA] bpstat_do_actions in one place

Daniel Jacobowitz
2008-05-05T19:41:53Z

On Mon, May 05, 2008 at 10:38:27PM +0300, Eli Zaretskii wrote:
> So it "discards the remaining output". But this `q' is not a command,
> just a one-letter response (GDB doesn't care what follows the initial
> `q'), just like it's sibling <RET> isn't a command, so there's no
> reason to expect that it will have _any_ effect inside breakpoint
> commands, or in any other context where GDB expects a command. Am I
> missing something?

I wasn't worried about embedding the q in the breakpoint commands
list, but about what effect it has when the prompt is triggered by
a command in the breakpoint command list. Basically, how far up
the call stack is considered "the remaining output"? Since what
it actually does is abort the command, not just discard the output.

--
Daniel Jacobowitz
CodeSourcery