[PATCH 0/3] dprintf tweaks

Yao Qi
2012-12-12T04:13:10Z

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