4.6. dump

Alias

md,od

Usage

dump [-d] [-o] [-x] [-B] [-D] [-H] [-W] [-w outfile] addr [count]
    

Description

Display count values starting at kernel virtual address addr in one of 
the following formats: decimal (-d), octal (-o), or hexadecimal (-x).  
The default format is hexadecimal, and the default count is 1. If addr is 
preceeded by a pound sign ('#'), it will be treated as a page number 
(PFN).
    

Note

Output of dump command depends on endianess of the host platform. E.g. on i386 lcrash will show words, half-words and double-words in little endianess. In conclusion on little endian platforms only the option -B will force lcrash to show you the bytes in the order as they really occur in the dump.

Example 4-5. dump

>> dump c02e4820 8 -o
0xc02e4820: 00000000011417432074 00000000017035267151 
            00000000016231273040 00000000015633664563 
0xc02e4830: 00000000006213431040 00000000004016030456 
            00000000015733671050 00000000014524040164 

>> dump c02e4820 8 -d
0xc02e4820: 01279145020 02020961897 01919252000 01852795251 
0xc02e4830: 00841888288 00540553518 01869574696 01699758196 

>> dump c02e4820 8 -x
0xc02e4820: 4c3e343c 78756e69 72657620 6e6f6973 : <4>Linux version
0xc02e4830: 322e3220 2038312e 6f6f7228 65504074 :  2.2.18 (root@Pe

>> dump c02e4820 8 -W
0xc02e4820: 4c3e343c 78756e69 72657620 6e6f6973 : <4>Linux version
0xc02e4830: 322e3220 2038312e 6f6f7228 65504074 :  2.2.18 (root@Pe

>> dump c02e4820 8 -B
0xc02e4820: 3c 34 3e 4c 69 6e 75 78                         : <4>Linux

>> dump c02e4820 8 -H
0xc02e4820: 343c 4c3e 6e69 7875 7620 7265 6973 6e6f : <4>Linux version

>> dump c02e4820 8 -D
0xc02e4820: 78756e694c3e343c 6e6f697372657620 : <4>Linux version
0xc02e4830: 2038312e322e3220 655040746f6f7228 :  2.2.18 (root@Pe
0xc02e4840: 75732e6d7569746e 28202965642e6573 : ntium.suse.de) (
0xc02e4850: 7372657620636367 35392e32206e6f69 : gcc version 2.95