On Thu, 11 May 2006, Julien BLACHE wrote:
> Debug packages would be nice to have, I'll have a look at adding them.

For HPLIP, they were extremely easy to add:

1. Created a new arch-any package to hold *all* debug information (no reason
to bloat the archive with many packages).

2. Used debhelper V5 mode (which is already backported, so it is okay for
Sarge too).

3. Used dh_strip --dbg-package=foo-dbg

And that was all I had to do.  This depends on you already building with -g,
but since that's policy anyway, I had hplip already doing that.

Of course, debug builds are still useful, as -O2 makes step-by-step
debugging on a debugger quite insane, but I am not worried about that.  The
fact that we can get proper ltrace and backtracing output even on -O2 is
probably enough.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to