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.



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gdb depends on:
ii  libbabeltrace-ctf1  1.4.0-3
ii  libbabeltrace1      1.4.0-3
ii  libc6               2.23-5
ii  libexpat1           2.2.0-1
ii  liblzma5            5.1.1alpha+20120614-2.1
ii  libncurses5         6.0+20160625-1
ii  libpython3.5        3.5.2-4
ii  libreadline6        6.3-8+b4
ii  libtinfo5           6.0+20160625-1
ii  zlib1g              1:1.2.8.dfsg-2+b1

Versions of packages gdb recommends:
ii  gdbserver             7.11.1-2
ii  libc6-dbg [libc-dbg]  2.23-5

Versions of packages gdb suggests:
pn  gdb-doc  <none>

-- no debconf information

Reply via email to