Bug#401385: This might not be as easy as I thought...
Hi Kevin,
Thanks for taking all that trouble. The debugging information should
not go into the package libgnat-4.1, because that's a run-time-only
package not intended for developers.
Instead, the debugging information should go either to a new package
(libgnat-4.1-dbg), either into package gnat-4.1, which already contains
the static library with debugging information as well as the compiler.
Creating a new package is a better long-term solution, because sooner or
later we'll want to switch to multilib. In a multilib system, we do not
want to have both libraries and programs in the same package.
Are you comfortable editing debian/control.m4 and
debian/rules.d/binary-ada.mk to add the new package? Then send me a
patch? If you do that then I'll review and apply your patch into the
next upload.
PS. Make sure libgnat-4.1-dbg depends on libgnat-4.1, and recommends
gnat-gdb (>= 6.4). Also, gnat-4.1 should recommend libgnat-4.1-dbg
but not depend on it.
--
Ludovic Brenta.
Reply to: