Dear Maintainer,
$ cat simple.c
#include <string.h>
void foo (char *bar)
{
char c[12];
strcpy(c, bar); // no bounds checking
}
int main (int argc, char **argv)
{
foo(argv[1]);
}
$ gdb simple
......
(gdb) b main
Breakpoint 1 at 0x40050c
(gdb) r
Starting program: /home/mudongliang/Work/simple
Breakpoint 1, 0x000000000040050c in main ()
(gdb) record full
(gdb) c
Continuing.
Process record does not support instruction 0xc5 at address 0x7ffff7dee807.
Process record: failed to record execution log.
Program stopped.
_dl_runtime_resolve_avx () at ../sysdeps/x86_64/dl-trampoline.h:81
81 ../sysdeps/x86_64/dl-trampoline.h: No such file or directory.
Thanks for the report, the issues persists with the upcoming 7.12 package. Could you please bring this topic with upstream GDB and keep this bug updated? Regards,
Control: severity -1 wishlist This is unfortunately a common problem when using the process record feature. It happens because the feature hasn't received much love since it was implemented more than a decade ago, and new CPUs implement new instructions which GDB doesn't know about, so someone needs to teach GDB how to decode these new instructions in order to make process record work with them. I'm demoting this bug to a wishlist status; feel free to report it upstream (although you will be able to find several other similar bugs reported as well). Thanks,