Package: gdb Version: 7.12-4 Severity: grave Justification: renders package unusable
Steps to reproduce: * Create this file /h.cpp: #include <string> std::string f (void) { return ""; } int main (void) { f (); } * Then: root@ideal-os:/# g++ -g -o h h.cpp root@ideal-os:/# gdb ./h GNU gdb (Debian 7.12-4) 7.12 Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./h...done. (gdb) start Temporary breakpoint 1 at 0x9bb: file h.cpp, line 12. Starting program: /h Temporary breakpoint 1, main () at h.cpp:12 12 f (); (gdb) p f No symbol "f" in current context. (gdb) p f () No symbol "f" in current context. (gdb) quit A debugging session is active. Inferior 1 [process 57] will be killed. Quit anyway? (y or n) EOF [assumed Y] g++-6 6.3.0-2, gdb 7.12-4 -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.8.0-1-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-8 ii libexpat1 2.2.0-2 ii liblzma5 5.2.2-1.2 ii libncurses5 6.0+20161126-1 ii libpython3.5 3.5.3~rc1-1 ii libreadline7 7.0-1 ii libtinfo5 6.0+20161126-1 ii zlib1g 1:1.2.8.dfsg-4 Versions of packages gdb recommends: pn libc-dbg <none> Versions of packages gdb suggests: pn gdb-doc <none> pn gdbserver <none> -- no debconf information