This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] not trigger pagination with dprintf
- From: Yao Qi <yao at codesourcery dot com>
- To: Hui Zhu <teawater at gmail dot com>
- Cc: Tom Tromey <tromey at redhat dot com>, gdb-patches ml <gdb-patches at sourceware dot org>
- Date: Fri, 26 Apr 2013 14:25:11 +0800
- Subject: Re: [PATCH] not trigger pagination with dprintf
- References: <CANFwon2V2vVADH89czoQjS+F=Uxsc5AgMAsQ3=d0nohc2EfBpA at mail dot gmail dot com> <87zjwuv0qn dot fsf at fleche dot redhat dot com> <CANFwon1kWpR9mhGVbzf0qB4GqO89yN+Uj9jGUHpp2-kWWmFC4g at mail dot gmail dot com> <87li87ll0r dot fsf at fleche dot redhat dot com> <CANFwon2jNppHObCEac=aSU6Uq6KLaoC5PGS8Vi3LawA+xzOJ=A at mail dot gmail dot com>
On 04/26/2013 11:35 AM, Hui Zhu wrote:
Because as the Marc said in bugzilla, when pagination is triggered,
inferior execution will be interrupted until the user answers the
pagination prompt.
And dptintf breakpoint call printf in its commands. So I want to make
dprintf can handle it.
Instead of fixing this problem, could we document that user has to
disable pagination when dprintf breakpoint is used? Something similar
is documented for non-stop here
<http://sourceware.org/gdb/onlinedocs/gdb/Non_002dStop-Mode.html>
# If using the CLI, pagination breaks non-stop.
set pagination off
--
Yao (éå)