[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

debogueur GDB avec possibilité de script (ou exemples de ceux-ci)



Bonjour la liste,

Je cherche un dépot Debian x86-64 contenant le débogueur GDB dans une version
recente (pour x86-64 Debian Trixie 13) et avec la possibilité de scripting.

Je suis familier avec Scheme (donc GNU guile) et assez allergique (et
incompétent) en Python.

Et de toutes façons j'ai besoin de nombreux exemples de tels scripts
(préférablement Guile, à défaut Python).

En particuler pour l'aspect GDB JIT (just in time) reader.

% /usr/bin/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-xxhash
	     --with-python=/usr (relocatable)
	     --with-python-libdir=/usr/lib (relocatable)
	     --with-debuginfod
	     --with-curses
	     --without-guile
	     --without-amd-dbgapi
	     --enable-source-highlight
	     --enable-threading
	     --enable-tui
	     --with-system-readline
	     --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.)

GNU Readline library version: 8.2	(system)

Quand j'essaie de compiler GDB-16.3 je n'y arrive pas.

Et j'ai lancé
./configure  --enable-maintainer-mode --enable-vtable-verify \
             --with-guile --enable-host-pie CFLAGS='-O2 -g' CXXFLAGS='-O2 -g'

dans mon répertoire contenant gdb-16.3 sous forme source (chez moi
    /usr/src/Tools/gdb-16.3 ...)

mais ça échoue au make avec

cd . && autoconf
configure.ac:35: error: Please use exactly Autoconf 2.69 instead of 2.72.
config/override.m4:12: _GCC_AUTOCONF_VERSION_CHECK is expanded from...
configure.ac:35: the top level
autom4te: error: /usr/bin/m4 failed with exit status: 1
make: *** [Makefile:18808: configure] Error 1

Librement


-- 
Basile STARYNKEVITCH                            <basile@starynkevitch.net>
8 rue de la Faïencerie                       http://starynkevitch.net/Basile/  
92340 Bourg-la-Reine                         https://github.com/bstarynk
France                                https://github.com/RefPerSys/RefPerSys


Reply to: