35 lines
733 B
Text
35 lines
733 B
Text
NAME=Memory Read and Write
|
|
FILE=bins/elf/ppc64le/dbg_basic_test
|
|
BROKEN=1
|
|
ARGS=-a ppc -d
|
|
CMDS=<<EOF
|
|
e io.cache=true
|
|
db @ 0x100000950
|
|
dc
|
|
pxw 16 @ array_data
|
|
wx 0x1234 @ 0x00020014
|
|
pxw 16 @ array_data
|
|
EOF
|
|
EXPECT=<<EOF
|
|
0x0002000c 0x0000000a 0x00000014 0x0000001e 0x00000028 ............(...
|
|
0x0002000c 0x0000000a 0x00000014 0x00003412 0x00000028 .........4..(...
|
|
EOF
|
|
RUN
|
|
|
|
NAME=Memory Allocation and memset
|
|
FILE=bins/elf/ppc64le/dbg_basic_test
|
|
BROKEN=1
|
|
ARGS=-a ppc -d
|
|
CMDS=<<EOF
|
|
db @ 0x100000858
|
|
dc
|
|
ds
|
|
pxw 16 @ 0x75f812a77040
|
|
ds
|
|
pxw 16 @ 0x75f812a77040
|
|
EOF
|
|
EXPECT=<<EOF
|
|
0x75f812a77040 0xffffffff 0xffffffff 0xffffffff 0xffffffff ................
|
|
0x75f812a77040 0xaaaaaaaa 0xaaaaaaaa 0xaaaaaaaa 0xaaaaaaaa ................
|
|
EOF
|
|
RUN
|