Package: gdb Version: 8.1-3 Severity: important Hello:
The shebang line of gcore script points to sh (dash here), and when trying to use it stops immediately with: ---8<--- /usr/bin/gcore: 28: /usr/bin/gcore: Syntax error: "(" unexpected --->8--- Changing sh to bash in the first line of the script makes it work again. That or fix line 28 (and any other) to be compatible with basic sh syntax. Thanks, GSR -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.14.0-3-amd64 (SMP w/8 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages gdb depends on: ii libbabeltrace1 1.5.5-1 ii libc6 2.27-5 ii libexpat1 2.2.1-1 ii libipt1 1.5-1 ii liblzma5 5.2.2-1.3 ii libncursesw6 6.1+20180210-2 ii libpython3.6 3.6.5-9 ii libreadline7 7.0-1 ii libtinfo6 6.1+20180210-2 ii zlib1g 1:1.2.11.dfsg-1 Versions of packages gdb recommends: pn libc-dbg <none> Versions of packages gdb suggests: ii gdb-doc 8.1-1 pn gdbserver <none> -- no debconf information