This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] [PR breakpoints/18275] Introduce dprintf-flush-function for call-style dprintfs
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Simon Marchi <simon dot marchi at ericsson dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 22 Sep 2015 19:59:40 +0300
- Subject: Re: [PATCH] [PR breakpoints/18275] Introduce dprintf-flush-function for call-style dprintfs
- Authentication-results: sourceware.org; auth=none
- References: <1441827156-8518-1-git-send-email-simon dot marchi at ericsson dot com> <5601776A dot 3030903 at ericsson dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> 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.