gdb problem
Hi,
I am a linux newbie and try to debug my first program on a target
hardware. On the target I have installed a NFS for the test programms.
I have started gdbserver on the target and gdb on the debian host.
Typing 'c' in gdb starts the program on the target as it should, the
program run until its end.
But i am not able to step through this program. I always get SIGILL,
even on 'start'.
Can someone help me ?
Thanks,
Sigi
Log:
...
This GDB was configured as "--host=i386-pc-linux-gnu
--target=arm-linux-uclibc". ..The target architecture is assumed to be armv4
0x400009f0 in ?? ()
(gdb) until 47
Cannot access memory at address 0x0
main () at /usr/local/LxNETES/apps/hello_world_cpp/hello_world_cpp.cc:50
50 for (i = 0; i < 5; i++)
(gdb) until 50
Program received signal SIGILL, Illegal instruction.
0x0000889c in main ()
at /usr/local/LxNETES/apps/hello_world_cpp/hello_world_cpp.cc:50
50 for (i = 0; i < 5; i++)
(gdb)
Reply to: