This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/3] dprintf tweaks
- From: Yao Qi <yao at codesourcery dot com>
- To: <gdb-patches at sourceware dot org>
- Date: Wed, 12 Dec 2012 12:12:58 +0800
- Subject: [PATCH 0/3] dprintf tweaks
Hi,
I happen to see that a block of code about dprintf in
print_one_breakpoint_location is dead, and patch 2/3 is
to remove the dead block. Patch 1/3 is to test the output
of 'info breakpoints' for dprintf in different dprint-style.
The whole series are tested on x86_linux with native and
gdbserver board file.
Test of breakpoint output for dprintf
Remove dead code for dprintf.
Assert 'printf_line' is non-null.
gdb/breakpoint.c | 49 ++++++++++--------------
gdb/testsuite/gdb.base/dprintf.exp | 13 ++++++
gdb/testsuite/gdb.mi/mi-breakpoint-changed.exp | 2 +-
3 files changed, 34 insertions(+), 30 deletions(-)
--
1.7.7.6