Re: gcc 3.2, gdb 5.2.1, solaris2.8 sparc, slow

Daniel Jacobowitz
2002-11-07T21:47:10Z

On Thu, Nov 07, 2002 at 01:17:30PM -0800, Mark Crosland wrote:
>
> The symptoms I am experiencing are long before the program is run,
> dlopen() has not been called yet my my program.
>
> gdb program
> break main (it don't come back, at least not after 15 minutes)
>
> Below is a stack trace. I generated the stack trace by doing the following
> steps

> #0 0xff1e0708 in exit ()
> from /usr/platform/SUNW,Ultra-Enterprise/lib/libc_psr.so.1
> #1 0x00075fe0 in finish_cv_type (type=0xb75de0)
> at /homedir/markc/gdb/gdb-5.2.1/gdb/gdbtypes.c:510
> #2 0x000fda40 in read_struct_type (pp=0xffbedba0, type=0xb75de0,
> objfile=0x2d67f0) at /homedir/markc/gdb/gdb-5.2.1/gdb/stabsread.c:4211

This has nothing to do with slowness or with threads. Get a current
CVS HEAD or branch snapshot and the infinite loop will be gone;
finish_cv_type no longer exists.

--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer