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] [PR breakpoints/18275] Introduce dprintf-flush-function for call-style dprintfs


> From: Simon Marchi <simon.marchi@ericsson.com>
> Date: Tue, 22 Sep 2015 11:44:42 -0400
> 
> > gdb/ChangeLog:
> > 
> > 	PR breakpoints/18275
> > 	* breakpoint.c (update_dprintf_command_list): Add call to the
> > 	flush function to the command list, factor out code.
> > 	(_initialize_breakpoint): Register set/show
> > 	dprintf-flush-function.
> > 	(dprintf_flush_function): New global.
> > 	(get_dprintf_call_print_line): New function.
> > 	(get_dprintf_call_flush_line): New function.
> > 	* NEWS: Mention set/show dprintf-flush-function.
> > 
> > gdb/testsuite/ChangeLog:
> > 
> > 	PR breakpoints/18275
> > 	* gdb.base/dprintf-flush.exp: New file.
> > 	* gdb.base/dprintf-flush.c: New file.
> > 	* gdb.base/dprintf.exp: Test error message when dprintf-function
> > 	is empty.
> > 
> > gdb/doc/ChangeLog:
> > 
> > 	PR breakpoints/18275
> > 	* gdb.texinfo (Dynamic Printf): Document set
> > 	dprintf-flush-function.

The documentation parts are OK.

Thanks.


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