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

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



On Sun, 2025-05-18 at 09:24 +0200, Basile Starynkevitch wrote:
> 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.
> 

[[[.... etc voir
https://lists.debian.org/debian-user-french/2025/05/msg00089.html ....]
> 
> 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


Je progresse un peu en ayant lancé sous root 
apt-build build-source --rebuild gdb  --build-dir /usr/src/Tools/_GdbBuild


qui lance plein de processus de compilation mais échoue finalement avec

/var/cache/apt-build/build/gdb-16.1/build/default/gdb/gdb version  16.1-1) -nw -
nx -q -iex "set height 0" -iex "set width 0" -data-directory /var/cache/apt-
build/build/gdb-16.1/build/default/gdb/data-directory 

make[3]: *** [Makefile:260: check-parallel] Error 2
make[3]: Leaving directory '/var/cache/apt-build/build/gdb-
16.1/build/default/gdb/testsuite.unix'
make[2]: *** [Makefile:162: check] Error 2
make[2]: Leaving directory '/var/cache/apt-build/build/gdb-
16.1/build/default/gdb/testsuite.unix'
make[1]: *** [Makefile:2030: check//unix] Error 2
make[1]: Leaving directory '/var/cache/apt-build/build/gdb-
16.1/build/default/gdb'
make: *** [debian/rules:219: stamps/check] Error 2
rm stamps/configure-default
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
----> Cleaning up object files <-----
Cleaning in directory /var/cache/apt-build/build/gdb-16.1
 dpkg-buildpackage --rules-target clean -us -uc -ui
dpkg-buildpackage: info: source package gdb
dpkg-buildpackage: info: source version 16.1-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Sergio Durigan Junior
<sergiodj@debian.org>
 debian/rules clean
dh_clean
rm -rf stamps build
rm -f debian/files
if test -f gdb/version.in.backup; then \
  mv -f gdb/version.in.backup gdb/version.in; \
fi
# Prevent gratuitous rebuilds of the BFD documentation, since it
# updates the copy in the source directory.
find bfd -name bfd.info\* | xargs --no-run-if-empty touch
Error while building gdb!
Some error occured building package


Vos suggestions constructives (ou exemples de scripts pour GDB) sont bienvenues


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: