diff options
author | Luis Machado <lgustavo@codesourcery.com> | 2017-02-23 14:36:58 -0600 |
---|---|---|
committer | Luis Machado <lgustavo@codesourcery.com> | 2017-02-23 14:39:16 -0600 |
commit | 17cd494709a60750234c7dbe4f1db2932f8a71c4 (patch) | |
tree | 4eaf73161d75025746e59409b47088aba3405a56 /COPYING3 | |
parent | 359ca075e7fe20a5106d5c068193dad0c53af480 (diff) | |
download | binutils-17cd494709a60750234c7dbe4f1db2932f8a71c4.zip binutils-17cd494709a60750234c7dbe4f1db2932f8a71c4.tar.gz binutils-17cd494709a60750234c7dbe4f1db2932f8a71c4.tar.bz2 |
PR21166: Validate rdrand/rdseed support separately in gdb.reverse/insn-reverse-x86.c
As reported in PR21166, there are Intel processors out there that support
rdrand but not rdseed. The fix is to verify both features separately and only
run rdrand/rdseed tests if supported.
gdb/testsuite/ChangeLog:
2017-02-23 Luis Machado <lgustavo@codesourcery.com>
* gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
(check_supported_features): ... this. Changed return type to void.
(supports_rdseed): New static global.
(rdseed): Check supports_rdseed.
(initialize): Call check_supported_features.
Diffstat (limited to 'COPYING3')
0 files changed, 0 insertions, 0 deletions