Re: 6.0R GENERIC makeoptions DEBUG=-g

From: Dev Tugnait (dev_at_unixdaemon.org)
Date: 11/14/05

  • Next message: Alex Popa: "Re: 6.0 freezes shortly after logging in (and at install)"
    To: Simon Ironside <sironside@interfone.net>
    Date: Mon, 14 Nov 2005 04:03:39 -0500
    
    

    safe to leave un-commented no hindrance in performance.

    On Mon, 2005-11-14 at 08:53 +0000, Simon Ironside wrote:
    > Hello,
    >
    > > I think this is intentional. Having DEBUG=-g means that you have a
    > > kernel.debug which contains debugging symbols, which is quite useful
    > > if you get a kernel panic and want to report it back. On the other
    > > hand, debugging symbols would be stripped before you install a new
    > > kernel so it does not affect the running kernel.
    >
    > This has changed since 5.4 - I just wondered why and whether I would be
    > best leaving it as is or commenting it out.
    >
    > Simon
    > _______________________________________________
    > freebsd-questions@freebsd.org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"


  • Next message: Alex Popa: "Re: 6.0 freezes shortly after logging in (and at install)"

    Relevant Pages

    • panic: Duplicate free of item 0xc433e420 from zone 0xc1045c00(g_bio)
      ... This time I got a clean core-dump, ... have a kernel with all the debugging symbols if that would help. ... FAILURE - WRITE_DMA timed out ...
      (freebsd-current)
    • Re: Fatal trap on RELENG_5_1 SMP
      ... when the kernel drops to the debugger on this panic, ... which will need the kernel with debugging symbols. ... > Fatal trap 12: page fault while in kernel mode ...
      (freebsd-current)
    • Re: how to interpret crash?
      ... It would be nice if a debugging kernel is sitting there ... If you have the same source code and same config file, ... old kernel, regardless of having debugging symbols, you're in a much worse ...
      (freebsd-stable)
    • Freebsd 5.3-RELEASE crashing due to bge problem(?)
      ... I have a dump of the crash, but unfortunately, the kernel was not compiled with debugging symbols, so this is what I do have: ...
      (freebsd-hackers)
    • Re: 6.0R GENERIC makeoptions DEBUG=-g
      ... safe to leave un-commented no hindrance in performance. ... >> kernel.debug which contains debugging symbols, ... >> if you get a kernel panic and want to report it back. ...
      (freebsd-questions)