This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/2] [BZ 21005] Add support for Intel 64 rdrand and rdseed record/replay
> From: Luis Machado <lgustavo@codesourcery.com>
> Date: Thu, 26 Jan 2017 11:18:49 -0600
>
> The following patch addresses BZ 21005, which is gdb failing to
> recognize an rdrand instruction.
>
> It enables support for both rdrand and rdseed and handles extended register
> addressing (R8~R15) for 16-bit, 32-bit and 64-bit.
>
> I tested this by hand with quite a few lines of inline asm. I thought we
> had arch-specific tests in testsuite/, but it looks like we don't exercise
> every little instruction with record/replay, so no testcase. Let me know
> if one is required.
>
> Regression-tested on Ubuntu 16.04 x86-64.
>
> Testsuite results are as follows:
>
> === gdb Summary ===
>
> # of expected passes 159
>
> OK?
>
> gdb/ChangeLog
>
> 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
>
> * NEWS: Mention support for record/replay of Intel 64 rdrand and
> rdseed instructions.
> i386-tdep.c (i386_process_record): Handle Intel 64 rdrand and rseed.
OK for the NEWS part.