This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix bug 15186 Agent style dprintf does not buffer output properly
- From: Hui Zhu <teawater at gmail dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches ml <gdb-patches at sourceware dot org>
- Date: Sun, 21 Apr 2013 10:18:10 +0800
- Subject: Re: [PATCH] Fix bug 15186 Agent style dprintf does not buffer output properly
- References: <CANFwon2yzXniBG81PLqQf-m3Ctj0_fku0t-8TDumMnsppnXPgw at mail dot gmail dot com> <877gjywjdf dot fsf at fleche dot redhat dot com>
On Sat, Apr 20, 2013 at 12:55 AM, Tom Tromey <tromey@redhat.com> wrote:
>>>>>> "Hui" == Hui Zhu <teawater@gmail.com> writes:
>
> Hui> Please help me review it.
>
> Hui> 2013-04-19 Hui Zhu <hui@codesourcery.com>
> Hui> PR gdb/15186
> Hui> * ax.c (ax_printf): Add fflush.
>
> I think this could use a test case.
> And it seems to me if you want the behavior to be the same for all
> styles of dprintf, then it should test all variants.
>
> Tom
I want to do it.
But I am not sure DejaGnu can test the output of gdbserver. And I
think this is why "dprintf.exp" doesn't test the print output of
agent.
Could you give me a example for it?
Thanks,
Hui