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: [PATCH] Fix bug 15293 Ignore-count does not work properly with dprintf


>>>>> "Hui" == Hui Zhu <teawater@gmail.com> writes:

Hui> This patch fix http://sourceware.org/bugzilla/show_bug.cgi?id=15293
Hui> Also I update dprintf.exp for this bug.
Hui> Please help me review it.

After this patch, "ignore" doesn't cause the program to stop -- this
part seems correct.

But it seems to me that "ignore" should make the "dprintf" not print
anything at all.  Otherwise, what is being ignored?

Hui> +gdb_test "ignore \$bpnum 1" ".*Will ignore next crossing of breakpoint.*"

I was surprised to find that this didn't interfere with the  "info break"
test later on.

Tom


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