Messages in this thread | | | Date | Mon, 14 Aug 2000 11:41:59 +0200 | From | Jamie Lokier <> | Subject | Re: Module mapping to mem/kmem? |
| |
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/
| |