[PATCH 4/4] gdb.trace: Fix off-by-one in tfile_fetch_registers.

Marcin Kościelnicki koriakin@0x04.net
Wed Feb 10 13:53:00 GMT 2016


On 10/02/16 14:21, Pedro Alves wrote:
> On 02/06/2016 03:39 PM, Marcin Kościelnicki wrote:
>> This resulted in the last register being considered unavailable.
>> On plain x86_64 (without AVX), this happened to be orig_rax.
>>
>> gdb/ChangeLog:
>>
>> 	* tracefile-tfile.c (tfile_fetch_registers): Fix off-by-one in bounds
>> 	check.
>
> OK.
>
> Thanks,
> Pedro Alves
>

Thanks, pushed.



More information about the Gdb-patches mailing list