Package: gdb
Version: 8.0-1
Severity: normal

Simply starting and quitting gdb shows messages like this:

    [marek@cacao:/]$ gdb
    ...
    (gdb) quit
    warning: Could not rename //.gdb_history-gdb26953~ to //.gdb_history: File 
or directory not found

So, it seems that GDB tries to create the history file in the current 
directory instead of $HOME; running GDB from /tmp does work.

Providing a line in ~/.gdbinit

    set history filename /home/....

makes the warning go away, so this configuration seems mandatory now.



-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_AT:de (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.2-1
ii  libbabeltrace1      1.5.2-1
ii  libc6               2.24-12
ii  libexpat1           2.2.1-1
ii  liblzma5            5.2.2-1.2+b1
ii  libncurses5         6.0+20170408-1
ii  libpython3.5        3.5.3-3
ii  libreadline7        7.0-3
ii  libtinfo5           6.0+20170408-1
ii  zlib1g              1:1.2.8.dfsg-5

Versions of packages gdb recommends:
ii  libc6-dbg [libc-dbg]  2.24-12

Versions of packages gdb suggests:
ii  gdb-doc    7.12-2
ii  gdbserver  7.12-6

-- no debconf information

Reply via email to