Package: gdb Version: 7.12-6 Severity: normal Dear Maintainer,
I'm debugging a test C program. I compile it with gcc as follow gcc -Wall -g xxx.c -o xxx I have set some breakpoints. If I recompile the code for debugging. Then I execute the program using the command run and the breakpoints disappear. This ought to work, but doesn't restore my breakpoints. the output is `/home/tw/Documents/test1/xxx' has changed; re-reading symbols. Error in re-setting breakpoint 1: Cannot access memory at address 0x5555555546f0 Starting program: /home/tw/Documents/test1/xxx [Switching to thread 1 (process 11336)](running) [Inferior 1 (process 11336) exited normally] -- System Information: Debian Release: 9.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-3-amd64 (SMP w/4 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.5.1-1 ii libbabeltrace1 1.5.1-1 ii libc6 2.24-10 ii libexpat1 2.2.0-2 ii liblzma5 5.2.2-1.2+b1 ii libncurses5 6.0+20161126-1 ii libpython3.5 3.5.3-1 ii libreadline7 7.0-3 ii libtinfo5 6.0+20161126-1 ii zlib1g 1:1.2.8.dfsg-5 Versions of packages gdb recommends: ii libc6-dbg [libc-dbg] 2.24-10 Versions of packages gdb suggests: ii gdb-doc 7.12-2 ii gdbserver 7.12-6 -- no debconf information