#836802 gdb: Process record does not support instruction 0xc5

Package:
gdb
Source:
gdb
Description:
GNU Debugger
Submitter:
mudongliang
Date:
2025-08-04 17:09:03 UTC
Severity:
normal
Tags:
#836802#5
Date:
2016-09-05 22:33:29 UTC
From:
To:
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.

#836802#12
Date:
2016-12-12 23:53:58 UTC
From:
To:
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,

#836802#19
Date:
2025-07-28 02:12:36 UTC
From:
To:
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,