This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 4/4] gdb.trace: Fix off-by-one in tfile_fetch_registers.
- From: Pedro Alves <palves at redhat dot com>
- To: Marcin KoÅcielnicki <koriakin at 0x04 dot net>, gdb-patches at sourceware dot org
- Date: Wed, 10 Feb 2016 13:21:58 +0000
- Subject: Re: [PATCH 4/4] gdb.trace: Fix off-by-one in tfile_fetch_registers.
- Authentication-results: sourceware.org; auth=none
- References: <1454773157-31569-1-git-send-email-koriakin at 0x04 dot net> <1454773157-31569-5-git-send-email-koriakin at 0x04 dot net>
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