* memory dump
@ 2004-05-24 11:27 Marc Leeman
2004-05-24 18:03 ` Wolfgang Denk
0 siblings, 1 reply; 2+ messages in thread
From: Marc Leeman @ 2004-05-24 11:27 UTC (permalink / raw)
To: linuxppc-embedded
A quick question:
Can I obtain the memory location of kernel variables based on the
System.map file in such a way that I can dump them with a BDI probe.
dump 0xabcdef 0x10000 dump.txt
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: memory dump
2004-05-24 11:27 memory dump Marc Leeman
@ 2004-05-24 18:03 ` Wolfgang Denk
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2004-05-24 18:03 UTC (permalink / raw)
To: Marc Leeman; +Cc: linuxppc-embedded
In message <20040524112745.GV23093@smtp.barco.com> you wrote:
>
>
> Can I obtain the memory location of kernel variables based on the
> System.map file in such a way that I can dump them with a BDI probe.
Yes. Just "grep" for the symbol in System.map and subtract KERNELLOAD
resp. CONFIG_KERNEL_START (0xC0000000); for example:
-> grep log_buf System.map
c017c754 b log_buf
Use: "dump 0x0017c754" to dump the contents of the log buffer.
See also http://www.denx.de/twiki/bin/view/DULG/LinuxPostMortemAnalysis
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
"The glory of creation is in its infinite diversity." "And in the way
our differences combine to create meaning and beauty."
-- Dr. Miranda Jones and Spock, "Is There in Truth No Beauty?",
stardate 5630.8
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-05-24 18:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-24 11:27 memory dump Marc Leeman
2004-05-24 18:03 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).