Re: Module mapping to mem/kmem?

From: Jamie Lokier (lk@tantalophile.demon.co.uk)
Date: Mon Aug 14 2000 - 04:41:59 EST


Dave Cecil wrote:
> I want to display the value of a variable in my loadable module, but of
> course gdb vmlinux /proc/kcore can't do that.
>
> Is there another, better technique, maybe using kmem?

Feel free to change /proc/kcore so it includes loaded modules. While
there, include information about the modules in the appropriate format,
and GDB will automatically load the module symbols. (Basically, make it
look like the core file refers to shared libraries).

More effort perhaps, but it would be much better technique IMHO :-)

-- Jamie

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:32 EST