Re: [RFA] bpstat_do_actions in one place

Daniel Jacobowitz
2008-05-05T11:48:48Z

On Mon, May 05, 2008 at 01:04:05PM +0400, Vladimir Prus wrote:
> In fact, things will go bad. I've checked in the following version of the
> patch that uses RETURN_MASK_ALL.

RETURN_MASK_ALL is almost never a good idea. Quit will now not quit
all the way back to a prompt. Is that really what we want either?

For instance, a program running in a while (1) loop with a breakpoint
set in it, and the breakpoint has a command that produces output, like
backtrace. Quit will now resume the program and generate another
backtrace, I think.

--
Daniel Jacobowitz
CodeSourcery