All of lore.kernel.org
 help / color / mirror / Atom feed
From: aftnix@gmail.com (arif)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Debug symbols in kernel modules
Date: Sun, 02 Dec 2012 18:38:59 +0600	[thread overview]
Message-ID: <50BB4BE3.90606@gmail.com> (raw)
In-Reply-To: <CAGdaadbz6uWDm2kSTDbFxk3bRGi=7jKrb8bLPN1ZFu-D6nOZ3w@mail.gmail.com>

On 10/07/2012 06:46 AM, Mulyadi Santosa wrote:
> On Sat, Oct 6, 2012 at 6:31 PM, Aft nix <aftnix@gmail.com> wrote:
>> Hi,
>>
>> When i write a makefile to build a kernel module how should i make
>> sure that it contains debugging symbols?
>
> IIRC, it's in kernel hacking section during make config/menuconfig/xconfig.
>
> Find "kernel debug" or something like that. Then check the resulting
> config. You should find that CONFIG_DEBUG_INFO=y
>
> Or...if it's a stock kernel from your distro repository, just install
> the kernel debug symbol package.
>

Thanks for the reply.

      reply	other threads:[~2012-12-02 12:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-06 11:31 Debug symbols in kernel modules Aft nix
2012-10-07  0:46 ` Mulyadi Santosa
2012-12-02 12:38   ` arif [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50BB4BE3.90606@gmail.com \
    --to=aftnix@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.