This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: shared library debugging really slow on ppc?
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Adam Fedor <fedor at doc dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Mon, 5 Aug 2002 23:46:59 -0400
- Subject: Re: shared library debugging really slow on ppc?
- References: <3D4F43B4.9030907@doc.com>
On Mon, Aug 05, 2002 at 09:34:12PM -0600, Adam Fedor wrote:
> I've compiled 5.1 and the latest CVS (2002-08-04-cvs) gdb on
> powerpc-unknown-linux-gnu, and I've noticed that debugging shared
> libraries is really slow (on the order of 20X slower than gdb 5.0 by
> timing the simple script below). I've searched high and low and haven't
> seen anyone else report this. Maybe I'm doing something wrong? gdb
> compiled with gcc 2.95.4
>
> gdb -nw simple << EOF
> break main
> run
> break shared_library_file.c:105
> n
> n
> [...20 times ...]
> n
> q
> y
> EOF
I bet you're missing a detail. Are you linked to pthreads?
If not, then I don't really know what the problem is; if you can send a
complete test case that would be nice.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer