[PATCH] Fix bug 15186 Agent style dprintf does not buffer output properly
Hui Zhu
teawater@gmail.com
Mon Apr 22 07:34:00 GMT 2013
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
More information about the Gdb-patches
mailing list