I like to know if there is a way for using the debugging tool ARMv8-A provided in Community Edition to rn some simple assembly codes as executable?
I have a simple one line code and want to see the changes in registers.
main: ADDI X9,XZR, #4
When I load it to I get the following message:
ERROR(CMD16-COR266):
! Failed to load "hello22.s"
! Unknown image type: hello22.s
Hello ehsanrohani
ARMv8-A community edition support GDB debug with linux, for the platform set up, please check
Using Linaro's deliverables on an FVP
After setting up the linux enviroment, you can write some instrusic in your code like this
int main(){
asm("mov r0, r0");
return 0
}
save it as hello.c then use gcc to compile it, gdb debug it as normal applications
thanks
Zheng
Zheng,
Thanks for the reply.
However I am interested in using a GUI like DS5 eclipse.
There are videos on how to setup a toolchain "Install and Setup DS-5" however for some reason this does not auto detect the toolchain and manual setup is not able to find libraries?!
The DS5 community edition recently included aarch64 debugger so I thought I could use that.
Apparently the debugger works only on executables and is a disassembler so i need an aarch 64 compiler.
All the problems would be solved if I could setup the linaro toolchain.
But I am not and don't know who to ask.
Regards;
ER