Debugging options

Matt Dillon noted that:

makeoptions DEBUG=-g
options DDB
options INVARIANTS
options INVARIANT_SUPPORT

are the only options you need when building with debugging options on.

3 Replies to “Debugging options”

  1. “…are the only debugging options you need when building”

    Correction, they are NOT required when building, but he feels that they are the only options generally required to get useful debugging information from the kernel (as in using more is kind of overkill).

  2. This is one example of the very few things that I dislike about BSD.

    Reading through LINT, I notice that “options INVARIANTS” requires “options INVARIANT_SUPPORT” to function, and that “options INVARIANT_SUPPORT” does nothing without “options INVARIANTS”.

    Why is this (and others like it) not one option? “FFS” and FFS_ROOT” also comes to mind.

    Perhaps I’m just missing something that would be obvious to someone who isn’t a poor clueless newbie…

Comments are closed.

Your post must include a link to this post.

How does this work?
Write a response on your own website and include a link to this post. Then submit your response’s URL here. Your response may appear here after moderation. To update or remove it, edit or delete your original post and submit the same URL again. Learn more about Webmentions.