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 Tue, May 06, 2008 at 09:30:22PM +0300, Eli Zaretskii wrote:
> > (gdb) break 4
> > (gdb) commands
> > > backtrace
> 
> And `q' here will be typed by hand, assuming that the backtrace is
> longer than one page?

Pagination length queues up between prompts.  So even if the backtrace
is only a few lines, after a dozen times around the loop we'll prompt.

> > This loop is tricky to interrupt.  But I see now that the entire
> > commands list will still be interrupted by quit so we will not execute
> > the continue.
> 
> Sounds like a bug to me.  At least I won't expect it to do that.

What would you expect to happen?

-- 
Daniel Jacobowitz
CodeSourcery


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