public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
To: "Amit S. Kale" <amitkale@emsyssoft.com>
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: Sat, 20 Mar 2004 10:49:01 +1100	[thread overview]
Message-ID: <1079740141.6883.12.camel@bach> (raw)
In-Reply-To: <200403192036.04225.amitkale@emsyssoft.com>

On Sat, 2004-03-20 at 02:06, Amit S. Kale wrote:
> On Wednesday 17 Mar 2004 2:48 am, Rusty Russell wrote:
> > 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?

That'd be one way.  But I was thinking you should add it in the loading
code the way CONFIG_KALLSYMS does for some other sections.

Cheers,
Rusty.
-- 
Anyone who quotes me in their signature is an idiot -- Rusty Russell


      reply	other threads:[~2004-03-19 23:50 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
2004-03-19 23:49     ` Rusty Russell [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=1079740141.6883.12.camel@bach \
    --to=rusty@rustcorp.com.au \
    --cc=amitkale@emsyssoft.com \
    --cc=kgdb-bugreport@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --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