This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARMv8-A on Community Edition

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

Parents
  • 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

Reply
  • 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

Children