[Bug record/21655] New: Process record does not support instruction 0xf6f at address 0x400170

hjl.tools at gmail dot com sourceware-bugzilla@sourceware.org
Wed Jun 21 20:26:00 GMT 2017


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

            Bug ID: 21655
           Summary: Process record does not support instruction 0xf6f at
                    address 0x400170
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: record
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---
            Target: x86-64

Created attachment 10211
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10211&action=edit
A testcase

[hjl@gnu-6 glibc-test]$ make
gcc -g   -c -o test.o test.c
gcc -g   -c -o record.o record.S
gcc -g   -c -o start.o start.S
gcc -g   -c -o syscall.o syscall.S
ld  -o test test.o record.o start.o syscall.o
time ./test
0.00user 0.00system 0:00.00elapsed 73%CPU (0avgtext+0avgdata 288maxresident)k
0inputs+0outputs (0major+140minor)pagefaults 0swaps
[hjl@gnu-6 glibc-test]$ gdb ./test
GNU gdb (GDB) Fedora 7.12.1-48.fc25
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./test...done.
(gdb) b _start
Breakpoint 1 at 0x400175: file start.S, line 28.
(gdb) r
Starting program: /export/ssd/git/glibc-test/test 

Breakpoint 1, _start () at start.S:28
28              xorl %ebp, %ebp
(gdb) record full
(gdb) c
Continuing.
Process record does not support instruction 0xf6f at address 0x400170.
Process record: failed to record execution log.

Program stopped.
record () at record.S:7
7               movq  (%rsi,%rdx), %mm7
(gdb) disass/r 
Dump of assembler code for function record:
=> 0x0000000000400170 <+0>:     0f 6f 3c 16     movq   (%rsi,%rdx,1),%mm7
   0x0000000000400174 <+4>:     c3      retq   
End of assembler dump.
(gdb)

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


More information about the Gdb-prs mailing list