Examine memory: x/FMT ADDRESS.
ADDRESS is an expression for the memory address to examine.
FMT is a repeat count followed by a format letter and a size letter.
Format letters are o(octal), x(hex), d(decimal), u(unsigned decimal),
t(binary), f(float), a(address), i(instruction), c(char) and s(string).
Size letters are b(byte), h(halfword), w(word), g(giant, 8 bytes).
The specified number of objects of the specified size are printed
according to the format.
Defaults for format and size letters are those previously used.
Default count is 1. Default address is following last thing printed
with this command or "print".
(gdb) x/32xb p_stSessionCtx->stProxyDB.list_addr
0x8bb5dc8: 0x36 0x30 0x30 0x36 0x00 0x00 0x00 0x00
0x8bb5dd0: 0x00 0x00 0x30 0x30 0x30 0x36 0x30 0x30
0x8bb5dd8: 0x37 0x00 0x00 0x00 0x00 0x00 0x00 0x30
0x8bb5de0: 0x30 0x30 0x00 0x00 0x29 0x00 0x00 0x00
(gdb) p/x p_stSessionCtx->stProxyDB.list_addr
$5 = 0x8bb5dc8
(gdb) x/32cb p_stSessionCtx->stProxyDB.list_addr
0x8bb5dc8:54 '6' 48 '0' 48 '0' 54 '6' 0 '\0' 0 '\0' 0 '\0' 0'\0'
0x8bb5dd0:0 '\0' 0 '\0' 48 '0' 48 '0' 48 '0' 54 '6' 48 '0' 48'0'
0x8bb5dd8:55 '7' 0 '\0' 0 '\0' 0 '\0' 0 '\0' 0 '\0' 0 '\0' 48'0'
0x8bb5de0:48 '0' 48 '0' 0 '\0' 0 '\0' 41 ')' 0 '\0' 0 '\0' 0'\0'
阅读(11525) | 评论(0) | 转发(0) |