I have a question related to data fetch, when on gdb debugger I do an address read say as:
X 0x81000000
Then it will fetch 64 bits as you told in reference to Cortex A9
If further I do
X 0x81000004
Will it fetch 64 bits again from 0x81000000 or it will use the previous fetched data.
Hi anoopstm,
It will -- although you have to enable that feature. The "mem" command can set the attribute "cache" on a region:
mem 0x00000000 0xffffffff cache
This instructs gdb to cache memory contents. By default, all regions are not cached by gdb.
In DS-5 the command is "memory" but the syntax is much the same.
Ta,
Matt
View all questions in Cortex-A / A-Profile forum