[PATCH] Fix buf inside tracepoint tfile memory read

Hui Zhu teawater@gmail.com
Sat Jun 16 15:33:00 GMT 2012


On Fri, Jun 15, 2012 at 11:06 PM, Pedro Alves <palves@redhat.com> wrote:
> On 06/15/2012 11:28 AM, Hui Zhu wrote:
>
>> 2012-06-15  Hui Zhu  <hui_zhu@mentor.com>
>>
>>       * tracepoint.c (tfile_xfer_partial): Add a lseek.
>
>
> Okay, thanks.
>
> I wonder if a testcase could be constructed?
>
> --
> Pedro Alves

Thanks.  Checked in.

http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.14375&r2=1.14376
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/tracepoint.c.diff?cvsroot=src&r1=1.257&r2=1.258

I will post the test for it later.

Best,
Hui



More information about the Gdb-patches mailing list