Hi all,

I'm new to uClinux and i'm working on a custom board with mcf5235. Running the
kernel was quite simple but i'm having problems to debug applications. I'm using
gdbserver with an ethernet connection. My dist is 20070130  and I tried  to  
use  
gdb in m68k-elf-tools-20030314 and a recompiled version of gdb 6.6 for
m68k-elf targets.

The first give me these errors:

(gdb) target remote 192.168.0.23:3000
 Remote debugging using 192.168.0.23:3000
 0x00e00048 in ?? ()
(gdb) x main
0x676 <main>:   Cannot access memory at address 0x676
(gdb) b main
Cannot access memory at address 0x676
(gdb)

the second seems to work a little better:

(gdb) target remote 192.168.0.23:3000
Remote debugging using 192.168.0.23:3000
0x00e00048 in ?? ()
(gdb) x main
0x676 <main>:   0x4e56fef4
(gdb) b main
Breakpoint 1 at 0x690: file test.c, line 227.
(gdb)  c
Continuing.
Warning:
Cannot insert breakpoint 1.
Error accessing memory address 0x690: Input/output error.

I patch the file entry.S as said in
http://mailman.uclinux.org/pipermail/uclinux-dev/2007-June/043181.html

Any ideas on what can be wrong? I have to use a particular version of gdb?

I hope this qustion is not too obvius but I don't know how to face this problem.
I'm a newbie so I'm probably doing some stupid error!.

Thanks!
              
---------------------------------

---------------------------------
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to