Re: debugging digikam: no line number information available
Gilles Caulier <[email protected]> Sat, 6 Jan 2024 16:52:11 +0100
| Newsgroups | gmane.comp.kde.digikam.devel |
|---|---|
| Message-ID | <CAHFG6sFnkKvE5vfD5sY7xOjUTy=Z_qqiLvKYefCPPPseQbPJRw@mail.gmail.com> |
hi, try "bt" gdb command... gilles caulier Le sam. 6 janv. 2024 à 16:49, Rolf <[email protected]> a écrit : > > Hi, > > I'm having trouble debugging digikam with gdb. I build v8.3 under > ubuntu with bootstrap.local, using > -DCMAKE_BUILD_TYPE=debugfull \ > in bootstrap.linux > > Now when I run gdb digikam I can set a breakpoint like > > (gdb) b OpenCVDNNFaceRecognizer::recognize > > and debugger stops there, but gdb can't connect to the source code: > > (gdb) list > 52 in ./nptl/futex-internal.c > > although I pointed it directly to the correct directory with > > (gdb) directory > /home/rolf/soft/digikam/core/libs/facesengine/recognition/opencv-dnn > > (gdb) info line OpenCVDNNFaceRecognizer::recognize > Keine Zeilennummerninformationen verfügbar for address 0x7ffff76c5c60 > <_ZN7Digikam23OpenCVDNNFaceRecognizer9recognizeERK5QListIP6QImageE@plt> > Keine Zeilennummerninformationen verfügbar for address 0x7ffff7822132 > <_ZN7Digikam23OpenCVDNNFaceRecognizer9recognizeEP6QImage> Keine > Zeilennummerninformationen verfügbar for address 0x7ffff78223c4 > <_ZN7Digikam23OpenCVDNNFaceRecognizer9recognizeERK5QListIP6QImageE> > Keine Zeilennummerninformationen verfügbar for address 0x7ffff7fb40c8 > <_ZN7Digikam23OpenCVDNNFaceRecognizer9recognizeERK5QListIP6QImageE-6djTOwH93WQ@public.gmane.orgt> > > reports "no line number information available..." > > So I assume that the necessary debug information wasn't created while > compiling or got lost while linking? > > I also wonder about the CMAKE_BUILD_TYPE debugfull > which is not a standard cmake build type, but cmake documentation tells > me to use it. Is this somehow outdated? > > Rolf