From: "Amit S. Kale" <akale@veritas.com>
To: jalaja devi <jala_74@yahoo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: kgdb ksymtab_addr not found!!
Date: Fri, 03 Aug 2001 15:41:13 +0530 [thread overview]
Message-ID: <3B6A78C1.7A1B13AB@veritas.com> (raw)
In-Reply-To: <20010802174730.76395.qmail@web13704.mail.yahoo.com>
jalaja devi wrote:
>
> Hi,
>
> I have 2 quesions here:
>
> 1. Could any plz tell me what am i missing out here?
>
> I basically, trying to debug my my loadable module in
> kernel in kernel2.4.6 version. I patched the kernel
> with 2.4.6 kgdb patch, using the recent version.
>
> I am using the modutils shell script to load my module
> loadmodule.sh which creates a gdbscript. When I source
> the gdbscript I get the following warnings:
>
> warning : section _ksymtab not found in mymodule.o
> warning : section _archdata not found in mymodule.o
>
> Do I need to patch the kernel with the modutils. Why
> do I get these warnings.
These warnings can be safely ignored.
>
> 2. How can I put a breakpoint to debug my init_module?
> Which is the Kernel Fxn to be invoked to put a
> breakpoint in my init_module?
You can place a breakpoint just before the the statement
where kernel calls init_module. Then load the generated
gdb script into gdb once the breakpoint is hit. Now you
can place a breakpoint directly into any statement in the
module code.
>
> Thanks in advance,
>
> Jalaja
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
Amit Kale
Veritas Software ( http://www.veritas.com )
next prev parent reply other threads:[~2001-08-03 10:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-05 19:48 smp errors in 2.4!! Manfred Spraul
2001-06-06 16:50 ` Test Mail!!! jalaja devi
2001-06-08 14:58 ` Is Kernel2.2 is SMP versioned by default? jalaja devi
2001-06-08 22:56 ` Robert Love
2001-08-02 17:47 ` kgdb ksymtab_addr not found!! jalaja devi
2001-08-03 10:11 ` Amit S. Kale [this message]
2001-08-05 14:59 ` kgdb in kerenel2.4.6 : Unable to view the global variables!! jalaja devi
2001-10-04 14:35 ` Kernel-2.4.10 - Unresolved symbol jalaja devi
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=3B6A78C1.7A1B13AB@veritas.com \
--to=akale@veritas.com \
--cc=jala_74@yahoo.com \
--cc=linux-kernel@vger.kernel.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.