[omniORB] Debugging under Linux

Kevin Bailey keraba@yahoo.com
Wed, 15 Nov 2000 08:56:15 -0800


I tried all those versions and they display the same symptoms.

Is there an alternative thread library/implementation that I
could compile omniORB with ? -pthread vs -lpthread doesn't
seem to make much difference.

If it helps, I'm using i586_linux_2.0_glibc2.1.mk on Mandrake 7.1.

Thanks,
krb

On Wed, Nov 15, 2000 at 01:50:01AM +0100, Christof Meerwald wrote:
> On Tue, 14 Nov 2000 15:47:31 -0800, Kevin Bailey wrote:
> >In short, it seems like thread handling under gdb is faulty. To
> >be specific, it can't seem to figure out which thread deserves
> >to receive an event. For example, when executing the standard
> >ORBInit, some thread somewhere gets a "SIG32: real-time event
> >32" signal and the _main_ thread suspends. This is only an
> 
> This means that your version of gdb doesn't support Linux-threads.
> 
> Unfortunately, support for Linux-threads in gdb still isn't perfect, so you
> probably might want to try different gdb versions:
> 
> ftp://ftp.valinux.com/pub/support/hjl/gdb/
> 
> http://ftp.debian.org/debian/dists/stable/main/binary-i386/devel/
> gdb_4.18.19990928-1.deb (if your distribution doesn't support
> Debian-packages, you can install it with a simple "ar p
> gdb_4.18.19990928-1.deb data.tar.gz | tar xzf -")
> 
> ftp://ftp.gnu.org/gnu/gdb/gdb-5.0.tar.gz
> 
> 
> Just try these gdb versions and use the one which works best for your
> project.