From: "Amit S. Kale" <amitkale@emsyssoft.com>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>,
KGDB bugreports <kgdb-bugreport@lists.sourceforge.net>,
Tom Rini <trini@kernel.crashing.org>
Subject: Re: module scanning in kgdb 2.x
Date: Fri, 19 Mar 2004 20:36:04 +0530 [thread overview]
Message-ID: <200403192036.04225.amitkale@emsyssoft.com> (raw)
In-Reply-To: <1079471931.19722.15.camel@bach>
On Wednesday 17 Mar 2004 2:48 am, Rusty Russell wrote:
> On Fri, 2004-03-12 at 17:36, Amit S. Kale wrote:
> > Hi,
>
> Hi Amit,
>
> FYI: you would have received a quicker response if you'd CC'd me.
Hi Rusty,
Thanks.
Yep! I'll CC you on any further modules stuff.
>
> > It does following things:
> > 1. Adds MODULE_STATE_GONE to indicate that a module was removed. This is
> > differnent from MODULE_STATE_GOING. gdb needs to be notified of a module
> > event _after_ a module has been removed. Or else it'll still find the
> > module during a module list scan and will not remove it from its core.
>
> Makes sense.
>
> > 2. Defines a structure mod_section which stores module section names and
> > offsets preserved during loading of a module.
> >
> > 3. Adds a couple of fields to struct module to keep module section
> > information.
>
> Why not just set the section strings to SHF_ALLOC rather than copying
> (and possibly truncating) the names into your struct mod_section?
> struct mod_section is then simply void *addr; char *name;
How can I do that? Do I have to use objcopy on module files for this purpose?
-Amit
next prev parent reply other threads:[~2004-03-19 15:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-12 6:36 module scanning in kgdb 2.x Amit S. Kale
2004-03-12 7:00 ` [Kgdb-bugreport] " Amit S. Kale
2004-03-19 15:01 ` Amit S. Kale
2004-03-16 21:18 ` Rusty Russell
2004-03-19 15:06 ` Amit S. Kale [this message]
2004-03-19 23:49 ` Rusty Russell
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=200403192036.04225.amitkale@emsyssoft.com \
--to=amitkale@emsyssoft.com \
--cc=kgdb-bugreport@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=rusty@rustcorp.com.au \
--cc=trini@kernel.crashing.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox