This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix bug 15293 Ignore-count does not work properly 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: Mon, 22 Apr 2013 10:10:53 -0600
- Subject: Re: [PATCH] Fix bug 15293 Ignore-count does not work properly with dprintf
- References: <CANFwon3vZ_AyasT=aLvbxS3zBA-AES5Ed3sXkAEvC-Xw+6Yj2w at mail dot gmail dot com> <87bo9awjgf dot fsf at fleche dot redhat dot com> <CANFwon3-6AxR4P4TjfFuPwmQYCHrLDsXSvVkqzV7QL8UxU9hpw at mail dot gmail dot com>
>> But it seems to me that "ignore" should make the "dprintf" not print
>> anything at all. Otherwise, what is being ignored?
Hui> If dprintf is not ignore, it will stop, print and continue.
Hui> If ignore, it will not stop. So it will not print anything.
Ok, I see.
The first time I tried it I think I must have misread the output.
Hui> Because after breakpoint pass this ignore, it will not show in "info break"
Ok, thanks.
The patch is ok.
Tom