This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug record/21005] New: rocess record does not support instruction GDB 7.12 (rdrand %eax)


https://sourceware.org/bugzilla/show_bug.cgi?id=21005

            Bug ID: 21005
           Summary: rocess record does not support instruction GDB 7.12
                    (rdrand %eax)
           Product: gdb
           Version: 7.12.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: record
          Assignee: unassigned at sourceware dot org
          Reporter: xdje42 at gmail dot com
  Target Milestone: ---

Filing this for someone else.

code:
int random(int begin, int end){
    random_device rd;                           // non-deterministic generator
    mt19937 gen(rd());                          // to seed mersenne twister.
    uniform_int_distribution<> dist(begin,end); // range b/w begin & end
inclusive.
    return (int)dist(gen);
  }

log:
Process record does not support instruction 0xfc7f0 at address 0x7ffff7b8714d.
Process record: failed to record execution log.

Program stopped.
0x00007ffff7b8714d in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(gdb) x/i 0x7ffff7b8714d
=> 0x7ffff7b8714d:      rdrand %eax

Problem persists from GDB 7.7.1.
Host: ubuntu linux-4.2.0
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]