package: gdb
version:  10.1-1.7

Hi all,

The GNU project sees Guile[0] scheme as their official extension language.
It can be used to extend the functionality of the GNU Debugger[1].

Debian seems to ship GDB without enabled support for guile:

(gdb) guile (+ 20 22)
Guile scripting is not supported in this copy of GDB.

as the packaged gdb is configured with --without-guile: 

~ # gdb --configuration
This GDB was configured as follows:
   configure --host=x86_64-linux-gnu --target=x86_64-linux-gnu
             --with-auto-load-dir=$debugdir:$datadir/auto-load
             --with-auto-load-safe-path=$debugdir:$datadir/auto-load
             --with-expat
             --with-gdb-datadir=/usr/share/gdb (relocatable)
             --with-jit-reader-dir=/usr/lib/gdb (relocatable)
             --without-libunwind-ia64
             --with-lzma
             --with-babeltrace
             --with-intel-pt
             --with-mpfr
             --with-xxhash
             --with-python=/usr (relocatable)
             --with-python-libdir=/usr/lib (relocatable)
             --with-debuginfod
             --without-guile
             --enable-source-highlight
             --with-separate-debug-dir=/usr/lib/debug (relocatable)
             --with-system-gdbinit=/etc/gdb/gdbinit
             --with-system-gdbinit-dir=/etc/gdb/gdbinit.d

("Relocatable" means the directory can be moved with the GDB installation
tree, and GDB will still find it.)

The expected behavior in this case would be, to be able to utilize GDBs guile 
support.

[0]: https://www.gnu.org/software/guile/
[1]: https://sourceware.org/gdb/current/onlinedocs/gdb.html/Guile.html#Guile

Kind regards,

Wilko Meyer

Reply via email to