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]

[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


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