[Mono-list] (no subject)

Dirk van Deventer dvdeventer_ase at telkomsa.net
Mon Sep 19 07:39:22 EDT 2005


> 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 in my /lib directory so is all my other shared libraries.

> Anyone know what to do. Would be much appreciated.

>DVD

Although, when I start gdb (not gdbserver) on the target platform this warnings occurs.

./gdb
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "mipsel-linux".
(gdb) file ./mono
Reading symbols from /network/mono...done.
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run proggram.exe
Starting program: /network/mono proggram.exe
warning: Cannot initialize thread debugging library: unknown thread_db error '22'
warning: Cannot initialize thread debugging library: unknown thread_db error '22'
warning: Cannot initialize thread debugging library: unknown thread_db error '22'
warning: Cannot initialize thread debugging library: unknown thread_db error '22'
warning: Cannot initialize thread debugging library: unknown thread_db error '22'
warning: Cannot initialize thread debugging library: unknown thread_db error '22'

Anyone an idea??!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20050919/1966c41c/attachment.html


More information about the Mono-list mailing list