[fpc-devel] Re: Debug Info proposal

Joost van der Sluis joost at cnoc.nl
Sun Jan 13 20:26:45 CET 2008

Op zondag 13-01-2008 om 19:09 uur [tijdzone +0100], schreef Daniƫl
> Op Sun, 13 Jan 2008, schreef Marc Weustink:
> > Fabio Dell'Aria wrote:
> >> Can you tell we more about the iirc gdb please?
> >
> > IIRC -> If I Recall Correctly
> >
> > This is about plain gdb, since fpide uses gdblib I don't know if it counts 
> > foir that too.
> >
> > Anyway, on my fedora core, I've the option to install a somelib-debuginfo 
> > package. This package installs
> > /usr/lib/debug/usr/lib/libname.so.x.y.z.debug
> > and
> > /usr/src/debug/packagename-version/*.c
> As far as I know this is the full executable as it was before rpmbuild did 
> call strip. It puts the stripped one in the normal rpm and the original 
> one in the debuginfo rpm.

No, that's not true. It only contains the debug-info. Stripping this
from by fpc-x86_64-2.2.0 generated executables doesn't work, btw. I had
quite a lot issues with this while packaging fpc and lazarus for Fedora.

Fedora also has a new functionality. It stores an unique ID in the
executable and it's corresponding debug-file. So the debugger can check
if the files belong to each other. That's not needed if the file is the
actual executable.


More information about the fpc-devel mailing list