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

Bug#401385: This might not be as easy as I thought...



My initial thoughts on this were to do what most other packages that
generate debugging libraries do, which is to actually not generate
debugging libraries specifically, but instead to generate separate
symbol files, which also happen to live under /usr/lib/debug.

Most packages will make use of dh_strip to strip executables and
libraries, but it seems that the gnat-4.1 package does not.  If it
did, then we could just add --keep-debug to its command line and it
would automatically generate the symbol file and place it in the
usr/lib/debug directory underneath the package build directory.

But it seems that gnat-4.1 doesn't actually use dh_strip.


The manpage for objcopy describes how to build the symbol file (see
the section of its manpage for the --only-keep-debug option).  I'll
have to do some experimenting to see what it'll take to make use of
that in the case of gnat-4.1.




-- 
Kevin Brown					      kevin@sysexperts.com



Reply to: