[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gdb problem

Hi Hector,
I use the NFS shipped with the target software package.
I tried DDD (i started with it, but because of the problem i went back to the roots...), but the result is the same. 'Cont' works, 'until/step' not.
I invoke gdb with 'target remote IPadr:2001' and i get both systems connected, otherwise 'cont' would not work.

Hector Oron schrieb:
It looks like you are using FS-System UNC20?

I remember that you have to tell gdb something like this:
gdb> target remote ??
gdb> load
gdb> run

Also you might want to try DDD, which is a front-end for GDB.

Good luck !

On 1/4/06, Siegfried Seitz <s.seitz@merlinelectronic.de> wrote:
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 ?

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++)

To UNSUBSCRIBE, email to debian-embedded-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: