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: Tom Tromey <tromey at redhat dot com>
- To: Hui Zhu <teawater at gmail dot com>
- Cc: gdb-patches ml <gdb-patches at sourceware dot org>
- Date: Fri, 26 Apr 2013 14:30:03 -0600
- 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>
Hui> Because as the Marc said in bugzilla, when pagination is triggered,
Hui> inferior execution will be interrupted until the user answers the
Hui> pagination prompt. And dptintf breakpoint call printf in its
Hui> commands. So I want to make dprintf can handle it.
If pagination from a breakpoint's commands really breaks gdb, then it
should be disabled universally while in "commands", not just for
dprintf.
If it doesn't break gdb, well, then it seems like it is what the user
asked for.
Tom