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 Monday 05 May 2008 15:48:24 Daniel Jacobowitz wrote:
> 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?

Well, this was the behaviour I though to be the most reasonable. 

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

Yes, I think so; seems fine to me. Is there any documentation for how
'quit' should generally work, especially inside breakpoint commands?

- Volodya

 



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