diff options
author | Marcin Kościelnicki <koriakin@0x04.net> | 2016-02-06 18:19:49 +0100 |
---|---|---|
committer | Marcin Kościelnicki <koriakin@0x04.net> | 2016-02-11 15:16:31 +0100 |
commit | 9f5fed7852cae412443957862d759660cfcb3fd5 (patch) | |
tree | 871c48384d326ebc8662b38eab89aaa55a4b3d03 /gas/dw2gencfi.c | |
parent | Use the target architecture when encoding tracepoint actions (diff) | |
download | binutils-gdb-9f5fed7852cae412443957862d759660cfcb3fd5.tar.gz binutils-gdb-9f5fed7852cae412443957862d759660cfcb3fd5.tar.bz2 binutils-gdb-9f5fed7852cae412443957862d759660cfcb3fd5.zip |
gdb.trace: Add a testcase for tdesc in tfile.
This tests whether $ymm15 can be correctly collected and printed from
tfile. It covers:
- storing tdesc in tfile (without that, $ymm15 doesn't exist)
- ax_pseudo_register_collect for x86 (without that, $ymm15 cannot be
collected)
- register order in tfile_fetch_registers (without that, $ymm15h is
fetched from wrong position)
- off-by-one in tfile_fetch_registers (without that, $ymm15h is
incorrectly considered to be out of bounds)
- using proper tdesc in encoding tracepoint actions (without that,
internal error happens due to $ymm15h being considered unavailable)
gdb/testsuite/ChangeLog:
* gdb.trace/tfile-avx.c: New test.
* gdb.trace/tfile-avx.exp: New test.
Diffstat (limited to 'gas/dw2gencfi.c')
0 files changed, 0 insertions, 0 deletions