Eclipse + GDB + GDBserver

Hello, I am trying to use eclipse in order to use cross compiling. I have successful can compile program into a linux machine, and the runit in the machine with arm9 processor. Now I need to debug. To do this I run gdbserver on host machine and I use eclipse to configure GDB with a remote connection to target the arm machine. Problem is when I push the debug button, the breakpoints are skipped and I see the next error. What can be the problem? I compile the hello.c with arm-linux-gcc -g -o option

53-target-select remote 172.xx.xx.23:12000

~“`/home/workspace/hello/hello’ has changed; re-reading symbols.\n”

`/home//workspace/hello/hello’ has changed; re-reading symbols.

~“(no debugging symbols found)\n”

(no debugging symbols found)

~“(no debugging symbols found)\n”

(no debugging symbols found)

53^connected,thread-id=“0”,frame={addr=“0x00000000”,func=“??”,args=}

(gdb)

54-environment-cd /home/abdallah/workspace/hello

54^done

(gdb)

55-environment-directory /home/workspace/hello

55^done,source-path=“/home/workspace/hello:$cdir:$cwd”

(gdb)

56 info threads

&“info threads\n”

~“[New Thread 799]\n”

~" 1 Thread 799 0x00000000 in ?? ()\n"

&“warning: Couldn’t restore frame in current thread, at frame 0\n”

~“0x00000000 in ?? ()\n”

56^done

(gdb)

57-data-list-register-names

57^done,register-names=[“eax”,“ecx”,“edx”,“ebx”,“esp”,“ebp”,“esi”,“edi”,“eip”,“eflags”,“cs”,“ss”,“ds”,“es”,“fs”,“gs”,“st0”,“st1”,“st2”,“st3”,“st4”,“st5”,“st6”,“st7”,“fctrl”,“fstat”,“ftag”,“fiseg”,“fioff”,“foseg”,“fooff”,“fop”,“xmm0”,“xmm1”,“xmm2”,“xmm3”,“xmm4”,“xmm5”,“xmm6”,“xmm7”,“mxcsr”,“orig_eax”,“mm0”,“mm1”,“mm2”,“mm3”,“mm4”,“mm5”,“mm6”,“mm7”]

(gdb)

58-break-insert /home/workspace/hello/hello.c:9

&“No symbol table is loaded. Use the "file" command.\n”

58^error,msg=“No symbol table is loaded. Use the "file" command.”

(gdb)

59-stack-info-depth

No symbol table is loaded. Use the “file” command.

59^done,depth=“1”

(gdb)

60-break-insert /home/workspace/hello/hello.c:10

No symbol table is loaded. Use the “file” command.

&“No symbol table is loaded. Use the "file" command.\n”

60^error,msg=“No symbol table is loaded. Use the "file" command.”

(gdb)

61-stack-list-frames 0 1

61^done,stack=[frame={level=“0”,addr=“0x00000000”,func=“??”}]

(gdb)

62-exec-continue

62^running

(gdb)

62*stopped,reason=“exited-normally”

63-data-evaluate-expression $_exitcode

(gdb)

63^done,value=“0”

(gdb)

64-gdb-exit

64^exit

64^exit

chuwaca:
To do this I run gdbserver on host machine and I use eclipse to configure GDB with a remote connection to target the arm machine.

Either you need to run gdbserver on the target and connect to it over a network or serial port, or you need a JTAG dongle with software (such as OpenOCD) that implements the gdbserver protocol.