i'm aware of a number of ways to debug kernel space variables from
user space, but i'm not sure there's a way to do it if you're
extremely limited in the information you have at hand.

  the scenario:  a running 64-bit fedora 11 system.  there is no
"vmlinux" file at hand -- all i have is the vmlinuz file representing
the running kernel.  i have "gdb" installed, and there exist the files
/proc/kcore and /proc/kallsyms.  but given only that, is there any way
to list the current value of, say, the kernel variable "jiffies"?

  i can see in /proc/kallsyms the entry

ffffffffff600880 D __jiffies

but without the vmlinux file, i don't think gdb will do me any good.
or am i misremembering?

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

        Linux Consulting, Training and Annoying Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
"Kernel Newbie Corner" column @ linux.com:          http://cli.gs/WG6WYX
========================================================================

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to