gdb.trace: Fix off-by-one in tfile_fetch_registers.
authorMarcin Kościelnicki <koriakin@0x04.net>
Sat, 6 Feb 2016 15:30:01 +0000 (16:30 +0100)
committerMarcin Kościelnicki <koriakin@0x04.net>
Wed, 10 Feb 2016 13:50:22 +0000 (14:50 +0100)
commit473b99e5721ad623cc5826e03a73e2cf6cef4eb5
tree9c15e2a648d6ad0423cb9547740562bc13d7b3fc
parent4670103e86f59a80259fd593a6949d693382e536
gdb.trace: Fix off-by-one in tfile_fetch_registers.

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.
gdb/ChangeLog
gdb/tracefile-tfile.c