Control: severity -1 wishlist

On Monday, September 05 2016, mudongliang wrote:

> Package: gdb
> Version: 7.11.1-2
> Severity: normal
> Tags: newcomer
>
> 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.

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,

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
https://sergiodj.net/

Attachment: signature.asc
Description: PGP signature

Reply via email to