I'm trying to debug the mono runtime remotely with gdb.
 
On my target platform I start gdbserver as follow.
 
./gdbserver 192.168.0.35:1234 ./mono program.exe
Process ./mono created; pid = 96
Listening on port 1234
 
The gdbserver starts and listens on the indicated port 1234.
I then start ddd with the following command.
 
ddd --debugger mipsel-linux-gdb ./mono.
 
ddd starts and I then specify the target platforms ip address and port
 
(gdb) target remote 192.168.0.21:1234 ./mono program.exe
 
After this command I'm raedy for debugging, but as soon as I continue
the gdbserver on my target platfotm outputs the following.
 
gdb: error initializing thread_db library.
gdb: error initializing thread_db library.
gdb: error initializing thread_db library.
gdb: error initializing thread_db library.
gdb: error initializing thread_db library.
gdb: error initializing thread_db library.
 
libthread_db.so.1 is present on my target's  /lib directory so is all my other shared libraries.
Anyone know what to do. Would be much appreciated.
DVD
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to