How to use the e-gdb
Posted: Tue Sep 08, 2015 7:24 am
Hello Everyone,
I am new to the Epiphany and I got some troubles in debugging the program. Assuming I have got one .elf file which is the executable file of the host side, I follow the steps from the manuals. Just as followed.
e-gdb main.elf
(gdb) target sim
(gdb) load
(gdb) run
But e-gdb always gives out the result "core: 2 byte misaligned read to address 0x8861 at 0x8861
Program received signal SIGBUS, Bus error.”
And what bothers me is that no matter what .elf file used, even the simplest one from hello-world, e-gdb still gives me the same result. Hope anyone of you could help with that ! Otherwise it is too hard for me to debug the program. Thank you very much !
I am new to the Epiphany and I got some troubles in debugging the program. Assuming I have got one .elf file which is the executable file of the host side, I follow the steps from the manuals. Just as followed.
e-gdb main.elf
(gdb) target sim
(gdb) load
(gdb) run
But e-gdb always gives out the result "core: 2 byte misaligned read to address 0x8861 at 0x8861
Program received signal SIGBUS, Bus error.”
And what bothers me is that no matter what .elf file used, even the simplest one from hello-world, e-gdb still gives me the same result. Hope anyone of you could help with that ! Otherwise it is too hard for me to debug the program. Thank you very much !