Don't paginate "new thread" events

Daniel Jacobowitz drow@false.org
Wed Mar 12 03:13:00 GMT 2008


On Tue, Mar 11, 2008 at 08:01:29PM -0700, Joel Brobecker wrote:
> > New thread events printing ("New Thread 0x40077950 (LWP 13229)]") was
> > recently centralised in add_thread.  Unfortunatelly it brought with
> > it a behaviour change.  Before, we wouldn't paginate when these
> > events filled the terminal screen, and now we do.
> 
> Actually, I think it's a little more complicated than that. I had
> a second look at the patch, and the routines that were used to print
> the event notifications were either "printf_filtered" or "ui_out_text"
> (which in CLI mode results in a printf_filtered).

The one most frequently encountered, in linux-thread-db.c,
was already unfiltered for this very reason.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list