gdb.trace: Use g packet order in tfile_fetch_registers.
authorMarcin Kościelnicki <koriakin@0x04.net>
Sat, 6 Feb 2016 15:26:07 +0000 (16:26 +0100)
committerMarcin Kościelnicki <koriakin@0x04.net>
Wed, 10 Feb 2016 14:30:13 +0000 (15:30 +0100)
commite909d859f5635d66e79fef467da70d6090bfae1b
treee9d048fc5739635eb28220128e6bc1e7a8e349f1
parent473b99e5721ad623cc5826e03a73e2cf6cef4eb5
gdb.trace: Use g packet order in tfile_fetch_registers.

tfile_fetch_registers currently wrongly fetches registers using
gdb order instead of g packet order.  On x86_64 with AVX, this causes
problems with ymm*h and orig_rax registers: gdb has ymm*h first, while
g packet has orig_rax first.

gdb/ChangeLog:

* tracefile-tfile.c (tfile_fetch_registers): Use g packet order
instead of gdb order.

gdb/doc/ChangeLog:

* gdb.texinfo (Trace File Format): Remove misleading information
about register block ordering.
gdb/ChangeLog
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/tracefile-tfile.c