This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] bpstat_do_actions in one place


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]