[PRecord] Memory gets set even if users responds 'n' to query

Hui Zhu teawater@gmail.com
Wed Jul 22 08:55:00 GMT 2009


Checked in.

Thanks,
Hui

On Tue, Jul 21, 2009 at 11:38, Marc Khouzam<marc.khouzam@ericsson.com> wrote:
>> -----Original Message-----
>> From: Hui Zhu [mailto:teawater@gmail.com]
>> Sent: July-20-09 11:19 PM
>> To: Marc Khouzam; Michael Snyder
>> Cc: gdb-patches ml
>> Subject: Re: [PRecord] Memory gets set even if users responds
>> 'n' to query
>>
>> Thanks Marc.
>>
>> This issue is because when user answer n, function record_xfer_partial
>> return -1 will not really cancel the memory change operation.
>> I make a patch to change it to error.
>>
>> And I have check the code about register, it works OK.  Because it
>> already use error.
>>
>> Please help me review it.
>
> Thanks Hui, I have tested your fix and it works for me.
>
> marc
>



More information about the Gdb-patches mailing list